In this example project we will execute tests created in SeeTestAutomation against hosted devices located in seetest.io cloud
We've tried to keep this example simple, but still covering to following :
- Integration with seetest.io cloud
- Running tests on iOS \ Android in parallel
- Clone this git repository
git clone
- Obtain access key from seetest.io cloud
https://docs.seetest.io/display/SEET/Execute+Tests+on+SeeTest+-+Obtaining+Access+Key
note : you need to have a valid subscription or a trial to run this test (Trial \ paid)
After you have obtained a valid key change the seetest.properties file with your own copy
# /src/main/java/resources/seetest.properties
access.key = <your copy>
- Upload the eribank application to your project Download the Android app : https://experitest.s3.amazonaws.com/eribank.apk Download the iOS app : https://experitest.s3.amazonaws.com/EriBank.ipa
Go to the cloud "Mobile Application Center" and upload both apps https://cloud.seetest.io/index.html#/applications
- run the testng.xml file
Right click on the file and run from IntelliJ \ Eclipse Or use the command line :
gradlew runTests
- Upload you application to the cloud
(review step two in guide)
- Change the android application name or iOS application name in the seetest.properties file
# /src/main/java/resources/seetest.properties
ios.app.name = com.company.app
android.app.name = com.company.app/.appActivity
- Copy your project base directory to the app properties file
# /src/main/java/resources/seetest.properties
# you can place a full path e.g C:\\projectbasedir OR ~/projectbasedir
project.base.directory="SeeTestProject"
- Modify the tests
change the @Test methods at AndroidApplicationTest \ IOSApplicationTest
you can paste the code you've exported from SeeTestAutomation