UI testing with Cucumber and Selenium. Modify pom.xml for Cucumber and Selenium. Implement page objects for a small web app.
- [Instructor] Welcome to the fourth…and last video of section six.…We have so far configured Jenkins, Git and Maven.…We have also introduced the Cucumber code.…Now, we're going to the real-life implementation…of Selenium Web Test integrated with Cucumber.…It is time to focus on the user-interface and use it.…Selenium integrated with Cucumber is a good and strong tool…for testing the user-interface.…In this video we will focus on…UI test with Selenium and Cucumber in BDD style.…
Obviously, it will cover the acceptance test.…We're using Java and there are not too many…lightweight web frameworks available.…Before we implement the test automation,…let's look at the flow to be used at a glance.…The UI design of the page is as below.…A drop down for selecting the category.…The Temperature is selected automatically.…A text field for entering temperature value in Fahrenheit.…A text field for showing the result in Celsius.…
Two drop downs at the bottom to select unit,…one for Fahrenheit and the other for Celsius.…After entering the Fahrenheit value in the text field,…
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