Running tests externally such as on SauceLabs.
- [Instructor] Welcome back to this third…and last video of section five.…In the previous video,…we ran a few tests on the Selenium server.…In this video, let's try the last case,…to run some tests on the cloud.…Let's take the example we worked on…in the previous video and change it again.…Let's try to run the same thing…with an external service that allows you…to connect to a hub on the cloud.…There are various providers that will allow you…to run your test on the cloud.…
We'll be using SauceLabs for our test.…These providers have been prepared with a Selenium hub…and allow you to connect to them and run your tests there.…This is great if you want to outsource…running a Selenium hub.…Your core business is not to maintain…and make a Selenium hub available,…so running the tests somewhere else makes good sense.…So how do we get access to SauceLabs?…We go to www.saucelabs.com…and sign up for a test account.…
Let us change our test to use SauceLabs instead.…You'll have to prepare your own account.…I already have an account, so all I need to do…
Selenium gives developers the power to control web browsers and use them to automate web application testing. As an open-source toolset, Selenium makes it easier for testers to evaluate web applications without putting in any extra time and effort.
Mastering Selenium Testing Tools is all about demystifying the Selenium suite. Learn to verify web applications, control browsers with code, and scale up the testing environment by distributing the execution of web applications on different browsers running on different operating systems.
Author Ripon Al Wasim starts with the Selenium IDE, a Firefox plugin that performs a simple record-and-playback of interactions with the browser. A tester aiming for professional output can use WebDriver, an advanced scripting tool that allows you to locate the elements you need to interact with using their name: id, xPath, or CSS. Next, learn to express the desired behavior using a well-known framework for behavior-driven development (BDD) called Cucumber for Java, which uses a language called Gherkin. Last but not least, Ripon shows how to run tests on the Selenium Server, and walks through a complete working example of Selenium and Cucumber in action, for acceptance testing of a web application.
- Preparing your Selenium test environment
- Using the Selenium IDE
- Scripting in WebDriver
- Locating web elements
- Writing test cases with the Page Object Model
- Enabling continuous delivery with a continuous integration build system
- Working with Cucumber and Gherkin
- Describing features with Cucumber
- Running tests on Selenium Server