Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.4 KB

File metadata and controls

28 lines (21 loc) · 1.4 KB

iOS

Prerequisites

  • Install the appium_lib gem
    gem install 'appium_lib'
  • Install the local bindings gem (if you need to run local tests)
    gem install 'browserstack-local'

Running your tests

  • Do remember to switch the USERNAME and ACCESS_KEY with your own browserstack credentials.

  • Upload your Native App (.ipa 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.ipa"
    
  • If you do not have an .ipa 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

Notes

For frameworks integration with BrowserStack, refer to their individual repositories -