Assertion and verification with Selenium IDE. Playing/running/executing the entire test case in Selenium IDE.
- View Offline
- [Narrator] Welcome back.…In the previous video we saw what Selenium IDE is…and installed it.…In this video we'll put the Selenium IDE to work.…What we'll need to do here is record a journey…and play it back to see if the IDE works as expected.…Let's start the Selenium IDE…from the Tools menu in Firefox.…The Selenium IDE opens in the recording mode.…The light red circle at the right corner or you may check…the Actions menu whether the Record option is tick marked.…
So, let's go to www.seleniumhq.org.…Follow the download link, scroll down a bit to reach…the Selenium IDE section.…Here, click on the release notes link.…We'll see how to verify the page title…of the release notes.…Right click anywhere on the page and select assertTitle.…The verification from the assertTitle has been recorded.…
Let's right click again and explore…all of the available commands.…As you can see there are quite a few of them.…Let's go to the Selenium IDE.…A few commands have been recorded,…of which the last one was assertTitle.…Now, let's save the recorded test case by going to…
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