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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

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)

 
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Form and its Elements
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education