Selenium automation tests on Google Chrome, using Webdriver for the website amazon.com.
V1.0 - Amazon Wish List - 07/11/2018:
Implementation of an automation test, using amazon.com wish lists, according to this test case in Gherkin:
Feature: Insert searched item on Amazon whish list
Scenario: Search for a macbook Air, insert the correct user login, and add the item successfully to the wish list
Given I am on the Amazon homepage
And I click in the "Sign In" button
And I enter "[email protected]" into the field "Email"
And I enter "yourpw" into the field "Password"
And I click in the "Sign In" button
And I click in the "Search In" button selecting the "Computers" Category
And I enter "macBook Air" in the search box
And I click in the "Search" button
And I click in the image of the first result in the search list result page
And I click in the button "Add to List" in the item page
And I click in the button "View Your List" in the "Add to List" page
Then My wish list, should be populated with the item macBook Air
Requirements:
- Java - Version used was JAVA SE Version 8 Update 191
- Selenium WebDriver - https://www.seleniumhq.org/download/
- Chrome Driver - https://sites.google.com/a/chromium.org/chromedriver/
Author: Miguel Vaz Silva ([email protected])