I could really use some help on this Python/Selenium/Cucumber practice problem. Screenshots and detailed explanations would helpful. Thank you! Selenium WebDriver and Cucumber - Practice Exercise *Objective: The objective of this exercise is to test a live application using the procedures, practices, and techniques of Selenium WebDriver and Cucumber.
I could really use some help on this Python/Selenium/Cucumber practice problem. Screenshots and detailed explanations would helpful. Thank you!
Selenium WebDriver and Cucumber - Practice Exercise
*Objective:
The objective of this exercise is to test a live application using the procedures, practices, and techniques of Selenium WebDriver and Cucumber.
*Exercise:
Using Python programming, Selenium WebDriver, and Cucubemer (& Google Chrome), create 5 test cases from the ecommerce website 'www.bestbuy.com'. The following features must be implemented in each automated script:
-All tests should be designed using a Page Object Model
-All tests should follow good coding practices and standards
-All tests should be clear and easy to follow
-All tests should have corresponding features in feature file
-All tests should contain appropriate assertions and verifications to ensure the application is working correctly under a variety of different scenarios
*Example test cases for ecommerce applications:
*Test Search an item (multiple items):
-Make changes to the different choices available (like brand, size, color etc.);
-Test changing sort by options
*Test add an item to cart
-Test by changing quantity:
-Test for "in stock" and "out of stock" items
*Test proceed to checkout:
-Test if the item which you added is the same which you have on checkout page:
-Test for the total price and quantity
*Code that is needed to complete exercise:
1. 5 separate tests to run (choose from above examples)
2. locator code(s) for the page objects that will be used by the 5 test cases
3. feature files that are used to describe the behavior of the test cases (using Cucumber)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps