- View Offline
- [Instructor] Welcome to the eighth video of section three.…We have now covered a lot of low level details…and used them to build high level page objects.…Let's now continue with some advanced web driver features.…We'll cover the complexity of modern,…responsive web applications that will require interacting…with all the different types of components…you will find on a webpage.…In this video, we will focus on some…of the advanced web driver features with examples.…
Radio buttons have the property…that only one can be selected at a time.…When a radio button is selected,…or the other radio buttons in the same group are unselected,…a radio button group is a collection…of all radio buttons that have the same name.…To find out which one is selected, we need to do two things.…We need to find all web elements with a given name.…And we need to iterate over these elements…and remember the selected element.…Let's look at an example.…
W3Schools has a lot of HTML examples.…Let us look at their page for forms and input.…Here, we have a simple radio button group,…
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