Created
December 18, 2015 09:37
-
-
Save up1/30ff6b47439fe61e1fd5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Settings *** | |
Library Selenium2Library | |
#Test Teardown Close Browser | |
*** Testcases *** | |
Add product to cart | |
Open direct2shop | |
Choose product A | |
Add to cart | |
Login | |
*** Keywords *** | |
Open direct2shop | |
Open Browser https://www.directtoshop.com/ | |
Go To https://www.directtoshop.com/category/500009 | |
Choose product A | |
Click Element xpath=//*[@id="table"]/tbody/tr[2]/td[2]/div[2]/div[7]/table/tbody/tr/td[4]/a | |
Add to cart | |
Click Element xpath=//*[@id="mini-shopping-cart"]/div[2]/div[1]/a | |
Login | |
Input Text signin-email xxx | |
Input Text signin-password2 xxx | |
Click Element xpath=//*[@id="signin-container"]/table/tbody/tr[4]/td/a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment