Systems | Development | Analytics | API | Testing

Sauce Labs

Backtrace Acquisition Adds Error Monitoring; Enables Customers to Receive Quality Signals Throughout Entire Software Development Lifecycle

Today is a great day at Sauce Labs! We just announced that we’ve acquired Backtrace, a provider of best-in-class error monitoring solutions for software developers and engineers. Backtrace enables organizations to mitigate application risk and improve digital quality by empowering development teams to rapidly deploy code with confidence knowing that they can quickly identify and remediate bugs once in production.

Is Selenium the Best Test Automation Framework?

As far as web test automation goes, Selenium is certainly the most popular toolset. That popularity is uncontested. A survey on test automation finding that 54% of the respondents were using Selenium might be surprising only in that the number is so low. Many of the alternatives to Selenium, Software-as-a-Service products that record and re-run entirely in the browser, still use the Selenium as the core driving technology.

Local Test Project Code - Selenium Java and JUnit4

This video review the sample code used in Sauce Labs' Web Automation Quickstart module for Selenium Java. See how to access the code sample on Github, and get an overview of the structure of the test suite, including the Maven pom.xml file. Understand the Page Object Model of the example test suite, and some of the abstraction and methods used. Learn about the file you will need to edit, BaseTest.java, that you will be editing to run this examples test on the Sauce Labs Cloud.

Setup to Run Web App Tests On Sauce Labs

In this video, you will learn how to set variables for your Selenium Java test suite in a config file, create a switch statement for running tests either locally or on the Sauce Labs Cloud, and add the setting such as the url you are testing against, and set up you test to send capabilities to Sauce Labs. In the next video, you will see how to add these capabilities and run your test. Connect with Sauce Labs on Social Media Twitter: @saucelabs.

Run a Web App Test on Sauce Labs - Selenium Java

Learn how to add capabilities in a Seleniujm Java test using MutableCapabilites to set options such as username and access key for the Sauce Labs platform, and also add the capabilities such as browserName, browserVersoin, and platformName to configure which environment your test runs in. You will also learn to instantiate a RemoteWebDriver on Sauce Labs using the endpoint for the data center you are testing in.

Adding a Test Name - Selenium Java

Learn to pass the test name for a Selenium Java test to the Sauce Labs cloud, using the JUnit4 TestWatcher class. Create a rule and implement TestWatcher, and at the start of a test, pass the test name to the name capability so your name will appear with your test results on the Automated Testing results page. Connect with Sauce Labs on Social Media Twitter: @saucelabs.

Add a Test Status on Sauce Labs - Selenium Java

In this video, you will learn to communicate the test outcome status with a Selenium Java test, to Sauce Labs. Sauce Labs needs information from the test or test runner to be able to display whether a test passed or failed on the Sauce Labs dashboard. This tutorial will show you how to; capture the sessionId from RemoteWebDriver, create a connection with the SauceRest API, and pass information about the pass or fail status with TestWatcher of your test using the Sauce REST API, and the sessionId.

Run Selenium Java Tests on Different Browsers on Sauce Labs

In this tutorial learn how to use different browser options with a Selenium Java Test to set the browser you would like to run your tests in on Sauce Labs. Use a switch statement using Selenium BrowserType class to detect the browser, then add browser options to set capabilities for 5 different types of browsers. Finally, you will see how to run tests on different browser (and operating systems).

Run Java Tests in Parallel on Sauce Labs

In this lesson you will be learning how to set up your Selenium Java test to run tests in parallel on Sauce Labs with the JUnit4 test runner. Using the Maven Surefire Plugin, you can run two or more tests or classes at the same time. In this tutorial you will; include the Maven Surefire Plugin in pom.xml, use the plugin with the parallel tag to run tests in parallel, and finally, add some additional configuration to optimize running tests in parallel on Sauce Labs.