mvn surefire:test -Dtest=WordPressAppTest -Dsaucelabs.url=http://sauceId:sauceKey@ondemand.saucelabs.com:80/wd/hub -Dsaucelabs.access.key=sauceKey -Dsaucelabs.user.id=sauceId
mvn surefire:test -Dwebdriver.driver= appium -Dtest=IFixitAppTest -Dappium.hub=https://username:apiKey@api.kobiton.com/wd/hub -Dappium.platformName=iOS -Dappium.deviceName="iPhone 6" -Dappium.deviceGroup=KOBITON -Dappium.app=https://s3-ap-southeast-1.amazonaws.com/kobiton-devvn/apps-test/demo/iFixit.ipa
- Start appium server ( command line / appium desktop )
- Create simulator with necessary iOS version and mention same under appium.platformVersion and appium.deviceName
- under resources folder, unzip WordPress.zip to get WordPress.app file needed for automation
-
From command line run below from /serenity-core/serenity-appium, make sure to pass complete path whereWordPress.appis located
mvn clean verify -Dappium.app=FULL_PATH_REQUIRED/serenity-core/serenity-appium/src/test/java/integration/resources/WordPress.app