How to Execute Mobile Tests
Run Endtest Mobile Tests on real iOS and Android devices in the cloud, on a schedule, or from your CI pipeline, sequentially or in parallel.
Introduction
In order to execute Mobile Tests, you must connect to an external grid which offers real mobile devices.
You can execute Mobile Tests on BrowserStack.
How to execute Mobile Tests on BrowserStack
You need an account on BrowserStack that has access to App Automate.
If you do not have an account on BrowserStack, you can sign up for a free trial.
That will give you 100 minutes of App Automate.
Even if your tests will be executed on BrowserStack, you will get the results and logs in your Endtest account.
Steps
Connect your Endtest account with your BrowserStack account:
- Go to your BrowserStack account.
- If you don't have a BrowserStack account, you can just sign up for a Free Trial.
- Go to the
Productssection from BrowserStack and click onApp Automate. - Click on the
Showbutton from theUsername and Access Keyssection on the left side of the page. - Go to the Settings page in Endtest.
- Add the
UsernameandAccess Keyfrom BrowserStack App Automate in theBrowserStack UserandBrowserStack Keyinputs from the Endtest Settings page. - Click on the
Savebutton.
- Upload your APK or IPA file in the Drive section.
- Copy the
File Download URLfor your uploaded app.
- Go to the Mobile Tests section in Endtest.
- Click on the
Runbutton and selectBrowserStackfrom theGriddropdown. - Select the desired configuration.
- Paste the
File Download URLin theAPK Download URL/IPA Download URLinput. - Start the test execution.
You can also upload your APK or IPA file in the Drive by using our Endtest API chapter.
You can also upload your APK or IPA file on a server or an AWS S3 bucket.
The URL must have the file name and the file extension at the end, and the file (app) must be downloaded automatically, without any prompts or confirmations.Take our APK Download URL for the Wikipedia Android App as an example:
https://endtest-files.s3.us-west-2.amazonaws.com/WikipediaSample.apk