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:
-
From the schemes dropdown, select the app scheme, and device as “Generic iOS device”
-
Product → Clean (Cmd Shift K)
-
Product → Build For → Testing (Cmd Shift U)
-
Use Xcode’s Project Navigator to right click on .app and navigate to “Show in Finder” option
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
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!