Systems | Development | Analytics | API | Testing

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.

Choosing the Right Mobile Test Automation Framework

A critical decision for organizations that are defining their automated testing strategy is choosing the right automated testing framework that will help their development and QA teams efficiently write and execute automated tests. The market offers a plethora of frameworks to choose from, and the decision isn’t always easy.

Welcome to Test Automation Day | Mobile Testing (EMEA)

To kick off Test Automation Day Online | Mobile Testing, Ashwini Sathe, Product Marketing Manager at Sauce Labs, provides an introduction to Sauce Labs and our commitment to creating a world of digital confidence. She also discusses the importance of building a comprehensive mobile testing strategy, and how Sauce Labs can help.

An Alternative to Native Apps: How to Test Progressive Web Apps

Progressive Web Apps (PWA) are often seen as the easier alternative to native applications. During this session Wim Selles, Senior Solutions Architect at Sauce Labs, will look at why PWAs are seen as an alternative for native apps, the pros and cons and especially, are they easier to test than native apps.