Build and export test-suite

EarlGrey tests are the unit tests based on XCTest framework, you just need to upload your .app directory which will contain your app as well as the test suite for the app.

In order to test your iOS apps on BrowserStack using EarlGrey, you need to build and upload your the .zip file of your .app directory to BrowserStack. If you do not have a .zip file for your .app directory, follow step by step instructions on this page to generate the zip file.

If you are using XCode to build your app and write EarlGrey tests:

  1. From the schemes dropdown, select the app scheme, and device as “Generic iOS device”

  2. ProductClean (Cmd Shift K)

  3. ProductBuild ForTesting (Cmd Shift U)

  4. Use Xcode’s Project Navigator to right click on .app and navigate to “Show in Finder” option Click Show in Finder from available options for .app file

Once the .zip file is ready, you are ready to upload it to BrowserStack servers using Upload zip from file system or Upload zip using public URL

We're sorry to hear that. Please share your feedback so we can do better







Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better







Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Talk to an Expert