PageObjectPatternAppium
To Run the TestNG test on android
* Platorm="android" mvn clean -Dtest=Runner test
To Run the TestNG test on iOS
* Platorm="ios" mvn clean -Dtest=Runner test
To Run the TestNG test on iOS and android both in parallel
* Platorm="both" mvn clean -Dtest=Runner test
To Run the Cucumber test
* mvn clean -Dtest=RunnerCukes test
1.Please make sure you have android.json or iOS.json with capabilities under caps folder.
2.RUNNER value in config.properties can be set with parallel or distribute. (Parallel will run the same test cases across devices & distribute will split the test cases randomly across devices)
3.No need to start appium server externally , framework takes case of starting and shutting down the server for you.
Post Run :
Once the test run is completed, HTML report will b generated at target/ExtentReport.html
If you have used ScreenshotManager to capture screenshots on runtime, you can execute generate_report.sh to view detailed reports
Please refer the AppiumTestDistribution Framework for hacks :: https://github.com/saikrishna321/AppiumTestDistribution