The test.ai Appium SDK is a simple library that makes it easy to write robust cross-platform mobile application tests backed by computer vision and artificial intelligence.
test.ai integrates seamelessly with your existing tests, and will act as backup if your selectors break/fail by attempting to visually (computer vision) identify elements. This ability can also be leveraged to to write a single test suite that works on both iOS & Android.
The test.ai SDK is able to accomplish this by automatically ingesting your Appium elements (using both screenshots and element names) when you run your test cases with test.ai for the first time.
The SDK is accompanied by a web-based editor which makes building visual test cases easy; you can draw boxes around your elements instead of using fragile CSS or XPath selectors.
Add the following line(s) to the dependencies section in your
pom.xml (Maven)
<dependency>
<groupId>ai.test.sdk</groupId>
<artifactId>test-ai-appium</artifactId>
<version>0.1.0</version>
</dependency>
build.gradle (Gradle)
implementation 'ai.test.sdk:test-ai-appium:0.1.0'
We have a detailed step-by-step tutorial which will help you get set up with the SDK: https://github.com/testdotai/java-appium-sdk-demo