- Set APPLITOOLS_API_KEY as an environment variable, OR, replace the line:
eyes.setApiKey(System.getenv("APPLITOOLS_API_KEY"));
with
eyes.setApiKey("<replace_me>");
- If running Appium tests, you need to connect your device / start emulator
- Start appium on the local machine
Selenium_HelloWorld_Test -> basic selenium test
Selenium_HelloWorld_EyesTest -> selenium test with Applitools integrated
Selenium_HelloWorld_UFGTest -> selenium test with Applitools UltraFast Grid integrated
Appium_Native_Calc_Test -> basic appium test, without Applitools
Appium_Native_Cals_EyesTest -> appium test, with Applitools integrated
You can run the test directly from any IDE, OR, you can run the test from the command line using the command:
mvn clean test -Dtest=<test_name>