Book Image

Learning Selenium Testing Tools with Python

By : UNMESH GUNDECHA
Book Image

Learning Selenium Testing Tools with Python

By: UNMESH GUNDECHA

Overview of this book

Table of Contents (17 chapters)
Learning Selenium Testing Tools with Python
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Running tests in a cloud


We set up a local grid in the previous steps to run the tests for cross-browser testing. This requires setting up physical or virtual machines with different browsers and operating systems. There are costs and efforts needed to get the required hardware, software, and support to run the test lab. You also need to put in efforts to keep this infrastructure updated with the latest versions and patches, and so on. Not everybody can afford these costs and efforts.

Instead of investing and setting up a cross-browser test lab, you can easily outsource a virtual test lab to a third-party cloud provider. Sauce Labs and BrowserStack are leading cloud-based cross-browser testing cloud providers. Both of these have support for over 400 different browser and operating system configurations including mobile and tablet devices and support running Selenium WebDriver tests in their cloud.

In this section, we will set up and run a test in Sauce Labs cloud. The steps are similar if...