Skip to end of metadata
Go to start of metadata

Before you can run a website or native mobile application test with Sauce Labs, you need to configure your test to launch the right combination of platform/operating system/browser to test against, and set other test configuration options such as the path to your mobile application. After the test completes, you can add annotations such as a name to the test using the Sauce Labs REST API, or Selenium's JavaScript executor. 

Test Configuration - Getting Ready to Test

Test configuration refers to setting the desired capabilities of your test within the test script itself. There are required capabilities for both Selenium and Appium tests, as well as an extensive set of optional capabilities and some that are exclusive to Sauce Labs. You can use the Platform Configurator to create the required desired capabilities for your test scripts, or use one of our test framework examples to set up the desired capabilities for parallel testing across multiple platform/operating systems. 

Test Annotation - Adding Names, Tags, Build Numbers, and Pass/Fail Status after the Test

Test annotation refers to adding information about your tests to them after they have completed, such as a name, build number, tag, and Pass/Fail status. These annotations are useful for managing your tests and builds, and can be used, for example, in searching and sorting tests in the Archives page. You can add annotations with the REST API, the Selenium JavaScript Executor, or you can also use one of our test framework examples to automatically add annotations to your tests. 

More Information

Additional topics in this section include: