Systems | Development | Analytics | API | Testing

Sauce Labs

The Future of Technology - SauceCon 2021 Keynote

The world of technology is changing right before our eyes. Development teams are moving at speeds that once seemed unimaginable and delivering new products and capabilities that we never thought possible. In this keynote interview, Aled Miles, president and CEO of Sauce Labs, is joined by Toby Redshaw, former SVP of enterprise innovation and 5G solutions at Verizon, to discuss how organizations can harness the power of modern technology to create sustainable growth and improve customer relationships.

Diego Lo Giudice: What's Next for Testing - SauceCon 2021 Keynote

Agile and DevOps have created the big illusion that testers are no longer needed and that developers are taking full-time control of testing. But while some enterprises have indeed succeeded in getting developers more involved in testing, there are still hundreds of thousands of manual testers working every day to test applications and ensure digital quality. In this SauceCon 2021 keynote address, Diego Lo Giudice, VP and Principal Analyst at Forrester Research, examines how AI and ML are making it possible for non-dev testers to increase automation and test smarter than ever.

Create and Run Jobs with a Cypress Test in Github Actions

In this video, you will learn to set up two simple jobs with GitHub Actions and Saucectl to create a pipeline that builds and tests an example web app, as well as runs a test on Sauce Labs' virtual machines using Testrunner Toolkit and Sauce Control. Starting from a project set up in a previous tutorial, learn to add jobs to a github workflow .yml file. Use Actions to start a Sauce Connect Proxy Tunnel, install saucectl, and use it to run an automated test using Cypress.

Set up a Cypress Test Project with Github Actions

In this tutorial, you will see how to set up a app project file cloned from the public `Swag Labs` web app provided by Sauce Labs, and create your own GitHub repository. Setup secrets in Github, and create the YAML file in the .github/workflows directory that will allow you to build & test the app using GitHub actions. Set the events in testrunner.yml that trigger the workflow to run, as well as the environment variables. The following video will show you how to set up and run the jobs.

Setup Sauce Connect for Saucectl

Learn how to download and run the Sauce Connect proxy software so that you can create a secure tunnely for testing apps that require one. Download the `sc` file, and use a few simple terminal commands to run it on your machine, see how to change the tunnel id to run on different tunnels, and how to run your test on a shared tunnel so that you can use saucectl to run tests against an app in a protected environment.

Run a Cypress Test with Sauce Connect

Once you have a Sauce Connect proxy tunnel up and running, learn how to run your test on a shared tunnel. See how you can run this test in different Sauce Connect tunnels with Cypress on Sauce by simple changing you tunnel-id. See a demonstartion of both options you have for running the test in the 'sauce' test environment (on the Sauce Labs Cloud of virtual machines), by updating config.yml, or using a --tunnel-id flag in SauceCTL when you run your test.

Test a Local App with Cypress and Saucectl

Cypress on Sauce with Testrunner Toolkit allows you to perform tests on an app that you have on your local machine (or other non-public environments), then test it against the wide variety of devices available on Sauce Labs on. in Sauce mode (on the Sauce Cloud), or run your tests in a Docker container in your local environment and send the test results to Sauce Labs. This tutorial shows how to do this using the open-source Swag Labs web app.

Testing on Mobile Devices with Location Services

Can I change my mobile location during testing? Why do I need to change my location? What is the difference between GPS and Geo-IP? Do the Location Services behave the same way on Android and iOS? How do I handle location permission alert pop-ups? How should I automate tests that involve location services using Appium commands?

Run a Test with Sauce Connect Proxy

See a demonstration of how to run a Java Selenium test through the Sauce Connect Proxy. This video uses a code sample available publicly (links on training.saucelabs.com). See how to quickly start a tunnel, update variables, set the capabilities in your test code, then use the command line flag to test through the secure proxy tunnel that is Sauce Connect so you can run your tests securely using Sauce Labs cloud of devices, and share your test results.

Comparing the Selenium and Cypress Testing Frameworks

Automated testing for web apps has been around for well over a decade. For much of that time, Selenium has reigned supreme as the go-to testing framework for virtually any type of testing need that involves a browser-based app. But as the world of test automation continues to evolve, newer tools have emerged. Chief among them is Cypress, a testing framework that is becoming an increasingly popular alternative to Selenium. Is Selenium or Cypress a better choice for your automated testing needs?