Systems | Development | Analytics | API | Testing

April 2021

Self-healing E2E Tests with Healenium - SauceCon 2021

Do you want to spend less time on test maintenance and overcome the instability problems of end-to-end automated tests? With its self-healing capabilities, Healenium is an invaluable solution to overcome these challenges. During the session, EPAM Quality Architect Anna Chernyshova will show how, with a few updates to your Selenium script, you can adapt tests to deal with UI changes and fix issues with broken locators automatically.

Scaling Cypress, TestCafe, Playwright, and Puppeteer Tests on Sauce Labs = SauceCon 2021 Demo

In this demo Kunal Jain, Director of Product Management at Sauce Labs, will show you how to use new Sauce Labs capabilities to run your JavaScript tests at scale on Sauce Labs, while accessing test insights. In recent years, there’s been a shift towards JavaScript test automation frameworks. Today many Sauce Labs customers are using Cypress, TestCafe, Puppeteer, and most recently Playwright.

Mobile App Development and Testing Done Right with TestFairy - SauceCon 2021 Demo

Mobile testing is complex. You need to test your apps across multiple devices in different environments, and account for the varied conditions experienced by real users in the field. This presents a big challenge for the mobile development and QA teams. Adding to that, being remote, by definition, makes it hard for developers to understand what happened on a mobile device before an app crashed or when things didn’t work as expected. Further, the increasingly quality-sensitive users make it imperative for the modern mobile development and testing teams to deliver a flawless mobile experience with every release.

Simon Stewart: Dopamine Driven Development - SauceCon 2021 Keynote

Software development can be a real grind, but one thing that makes it more bearable is the joy of a passing build. Not only is that green bar important when you're iterating on a feature, but it's normally a vital part of determining whether or not your software can be released. Getting to a green build as quickly as possible allows you to experience that joy of a passing build more frequently, and allows you to verify that the next release is good more quickly than your competitors. It's a vital building block as we move towards Continuous Deployment.

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?

Top 5 JavaScript Test Automation Frameworks in 2021

JavaScript consistently ranks as the world’s most popular programming language among developers. It should come as no surprise, then, that a variety of JavaScript test automation frameworks are available to help developers test JavaScript apps. Here’s a look at the top five such frameworks, with tips on the pros and cons of each.