The Sauce Labs Cookbook

Sauce Headless

Front End Performance Testing

Insights

External Resources

More Info


Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Welcome to Sauce Labs! These topics provide an overview of our features and online interface, and answer some frequently asked questions about testing with Sauce. If you already have an Appium or Selenium test you want to connect to the Sauce Cloud, check out Sauce  Your options for getting started depend on your experience level: 

  • New to automated testing - Check out Sauce Labs Demonstration Scripts for information on configuring your tests to communicate with our virtual machines and send results to the Sauce Labs dashboard.

...

Additional Topics

Sauce Labs Documentation

Web Application Testing Documentation

  • Already have a suite of tests - If you have created Selenium tests you want to execute on the Sauce Cloud, you might only be a few steps away:

  1) Create an account on Sauce Labs. 

          2) Add line 3 below to your tests in all the language bindings, where:

Code Block
firstline1
linenumberstrue
// Launch remote browser and set it as the current thread
webDriver.set(new RemoteWebDriver(
     new URL("https://" + username + ":" + accesskey + "endpoint"),

IMPORTANT:

    • To complete this process successfully, you need to have a strong background in Selenium, along with significant experience with your test framework. If you don't meet that criteria, refer to the first bullet above for more assistance. 
    • If you have Appium scripts and access to RDC or if your company has an enterprise license or access to Headless or Performance, these instructions might not apply. For more information, see Real Device Testing Admin GuideGetting Started with Sauce Performance, or Getting Started with Sauce Headless

            3) Run your tests.

Additional Topics

Mobile Application Testing Documentation