Systems | Development | Analytics | API | Testing

July 2021

Getting Started with Accessibility Testing in Sauce Labs (Deque axe Integration)

Watch this video to learn how Sauce Labs and Deque axe integration allows developers and testers to easily integrate accessibility testing into their quality processes and provides increased visibility into accessibility signals for browser-based accessibility testing.

The Importance of Accessibility

I’ve been testing software professionally since 2001, when I was in my late 20s—when my eyesight was perfect. As I’ve gotten older, I’ve struggled with whether to make the font bigger on my web browser or phone, or to carry my reading glasses everywhere I go. I have to make this choice because some web sites were developed to account for this, and some weren’t. As I get older, this problem is only going to get worse.

Why You Should Be Testing in Production

Testing any software project is an important step in order to find out how the software functions. Learning when the project acts as expected (and when it does not) is the ultimate goal of the testing process. Testing stops design errors from reaching production code. However, testing should not only happen before code is deployed.

Backtrace Introduction and Demo Video

In this 10 minute video, you’ll receive a 2.5 minute introduction to the Backtrace platform, and a 7 minute demo highlighting key capabilities of the system. We open with a discussion on what types of errors can be submitted to Backtrace, and then dig deep on the Debug and Explore views. We highlight Triage briefly, and show how engineers can use Slack to be notified of new issues and immediately be brought into a Debug view.

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.

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.

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.