Demonstration of a basic Selenium example with Java and Maven.
- [Instructor] Welcome to the second video…of the third section.…In the previous video, we introduced WebDriver…and discussed its benefits.…Now, let's get our hands dirty and actually…implement something in this video.…The question is, of course, what should we implement…that is small to begin with and is still valuable?…Let us verify that we can navigate to the WebDriver…documentation, and verify that we have arrived…at the correct page.…This means what we need to do is go to…http://www.seleniumhq.org,…click on the documentation link,…then click on Selenium WebDriver link.…
The last thing we do is to verify the page title…that is expected, which is the title…of the WebDriver documentation.…Before implementing this example,…I have prepared a Maven project that will help us…run this example from a command-line.…Another great thing with using a Maven project file…is that we can use our IDE.…I prefer IntelliJ IDEA to open the POM,…Project Object Model, and we will get a project…where all dependencies we need have already been prepared.…
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