Skip to content

qmetry automation framework testai support - adding intelligence with test.ai

License

Notifications You must be signed in to change notification settings

qmetry/qaf-support-testai

Repository files navigation

License Maven Central GitHub tag javadoc

qaf-support-testai

qmetry automation framework testai support - adding intelligence with test.ai

Usage:

  • Add qaf-support-testai dependency to your project
  • Provide properties for test.ai integration. Assuming use of self descriptive locators no change required in your existing code!...
  • Run your test

Below are properties for testai

testai.api.key - test.ai api key
testai.server.url - server url, for example https://sdk.test.ai 

testai.training.mode - (optional) boolean default true, enable/disable training mode. 

Limitations:

  • Classification for Element list are not supported
  • When element recovered by test.ai classification and element found by coordinates from classification using js, only limited commands supported. Supported commands in that case are: isPresent, GET_ELEMENT_TEXT, GET_ELEMENT_TAG_NAME, GET_ELEMENT_LOCATION, GET_ELEMENT_SIZE, GET_ELEMENT_RECT, CLICK, CLICK_ELEMENT, SEND_KEYS_TO_ELEMENT, SUBMIT_ELEMENT and respective wait/verify/assert methods.

In order to use test.ai you need to run your test(s) at least once in training mode. You can disable training mode after one or more execution in training mode to improve execution performance. Refer test.ai documentation to get test.ai conceptual overview

Here is demo project to try this library.

About

qmetry automation framework testai support - adding intelligence with test.ai

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages