Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.61 KB

File metadata and controls

32 lines (26 loc) · 1.61 KB

Setup

Running your tests from Test Explorer via NUnit Test Adapter

  • Upload your Native App (.apk file) to BrowserStack servers using upload API:

    curl -u "username:accesskey" -X POST "https://api.browserstack.com/app-automate/upload" -F "file=@/path/to/app/file/Application-debug.apk"
    
  • If you do not have an .apk file and looking to simply try App Automate, you can download our sample app and upload to the BrowserStack servers using the above API.

  • For running local tests, you can use our local sample app.

  • Update the desired capability "app" with the App URL returned from the above API call

  • To run a single test, run test with fixture single

  • To run local tests, run test with fixture local

  • To run parallel tests, run tests with fixture parallel

Notes

  • You can view your test results on the BrowserStack automate dashboard

  • You can export the environment variables for the Username and Access Key of your BrowserStack account

    export BROWSERSTACK_USERNAME=<browserstack-username> &&
    export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
    

Additional Resources