Skip to content

Latest commit

 

History

History
 
 

serenity-appium

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Running in Sauce Labs

mvn surefire:test -Dtest=WordPressAppTest -webdriver.remote.url=https://ondemand.**datacenter**.saucelabs.com/wd/hub -Dsaucelabs.datacenter=datacenter -Dsaucelabs.accessKey=sauceKey -Dsaucelabs.username=sauceId

Running in Kobiton

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

Before Run

  1. Start appium server ( command line / appium desktop )
  2. Create simulator with necessary iOS version and mention same under appium.platformVersion and appium.deviceName
  3. under resources folder, unzip WordPress.zip to get WordPress.app file needed for automation

How To Run From Command Line

iOS Test Cases

  1. 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