Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

2. What are your challenges in the creative process?

Answered: 1 week ago