Pros and cons of Selenium IDE. The difference between verify and assert. Modifying test scripts / test cases in Selenium IDE after recording. Exporting recorded steps/scripts to the desired programming language.
- [Instructor] In the previous video,…we've already seen that Selenium IDE…is a great tool that can help us record a journey…through a web application.…In this video, we'll take a closer look at the Selenium IDE.…The Selenium IDE surely has great features.…However, it's not capable of repeating things.…We don't have access to conditions,…so we can't behave differently in almost similar situations.…It is not possible to reuse steps in many test cases.…
To be able to do these things,…we need a programming language.…Luckily, we can use the Selenium IDE to export our test case…to various programming languages,…such as Java, C#, Ruby, Python, and much more.…A programming language will give us access…to repetition, conditions,…and easy re-use of functionalities.…Earlier, we saw that we have the opportunity…to choose from a verification and an assertion.…
So what's the difference?…Assertion is fail fast.…That is, the script will stop immediately.…Whereas, a verification is not fail fast,…and other verifications on the page…
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