- Before you get started with testing on Sauce, you should check out the Best Practices for Running Tests and the Sauce Labs FAQs
- If you're interested in testing mobile applications, you should read the Mobile Application Testing FAQs
- If you want to test applications that are behind a firewall or on localhost, you should read up on Sauce Connect, which enables you to create a secure tunnel between the location where your application resides and the Sauce Labs testing infrastructure
- If you aren't already, you should familiarize yourself with using Selenium for Web application testing, and Appium for mobile application testing
Running Automated Tests for Web and Mobile Applications
Automated testing of both Web and mobile applications on Sauce Labs boils down to a few basic steps:
- Set yourself up with a Sauce Labs account.
Check out the topics under Managing Team Members and Accounts if you're interested in setting up an account for multiple team members.
- Update your existing tests to run on Sauce.
The topics under Getting Started include examples of how to do this.
- Write new tests that include the desired capabilities of your test, in the language of your choice.
- You can use the Platform Configurator to set the desired capabilities for both Selenium and Appium tests in your preferred language
- You can also use the REST API or the WebDriver API to further configure your jobs with timeouts, annotations (a recommended best practice for managing your tests results, and for managing builds in your continuous integration pipeline), and other job functionality
- Both the Getting Started and Tutorial topics include code samples that illustrate how to write automated tests for Web applications in various languages, while the topics under Example Appium Scripts for Mobile Application Tests illustrate how to write scripts for testing iOS and Android mobile applications
Once you've mastered the basics, you'll be ready to move on to more advanced functionality, like running your tests in parallel to speed up your testing process, and integrating your tests on Sauce into your continuous integration pipeline.