Skip to content

Sample Code base to run tests in Parallel across android and iOS devices.

Notifications You must be signed in to change notification settings

JyothiJain/PageObjectPatternAppium

 
 

Repository files navigation

PageObjectPatternAppium

To Run the TestNG test on android

* Platform="android" mvn clean -Dtest=Runner test

To Run the TestNG test on iOS

* Platform="ios" mvn clean -Dtest=Runner test

To Run the TestNG test on iOS and android both in parallel

* Platform="both" mvn clean -Dtest=Runner test

To Run the Cucumber test

* mvn validate && Platorm="android" mvn clean -Dtest=RunnerCukes test    

1.Please make sure you have capabilities.json 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 Raise Issues

https://github.com/saikrishna321/AppiumTestDistribution

Parallel Simulator Test

ScreenShot

Please refer the AppiumTestDistribution Framework for hacks :: https://github.com/saikrishna321/AppiumTestDistribution

About

Sample Code base to run tests in Parallel across android and iOS devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 87.5%
  • Java 8.5%
  • CSS 2.3%
  • HTML 1.0%
  • Objective-C 0.4%
  • Gherkin 0.2%
  • Shell 0.1%