- Allure reports
- Junit 5
- Maven
- Appium
- Android SDK and tools (with the correct paths in your shell profile)
- Appium installed locally (
npm -g install appium
)
- Create an emulator in Android Studio
- Install the app on the Emulator (Android)
adb install APP.apk
- Start the Appium server
appium
- Run the tests
mvn test -Ddevices=EMULATOR_NAME -Dos=Android -Dversion=10.0
The list of devices where you want to run the tests on. Basic logic for this is that you would want to run your tests on multiple devices of the same version. For now, you can only run a single Android version to multiple devices, the extra mapping is not being considered for now.
Used to differentiate the tests between iOS and Android. Some apps are different depending on the operative system so leaving this open for now.
Specific the Android version for the tests to run. Using this as a list just like "Devices" is still being considered.
- Android
- iOS
- Install directly the APK instead of having it installed before
- Support iOS
- Direct tests to SauceLabs (may need a tunnel for ADB install unless it supports direct installation from capabilities)
- Support dual locators to enable locating by Android locator and iOS locator. For now, only generic FindBy's work.