Created
February 21, 2021 05:18
-
-
Save khanbhai89/133ba690ee636d7e20e49c769e0d10aa to your computer and use it in GitHub Desktop.
This file is for the code which should be shown in the medium article.
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 SeleniumLibrary | |
Documentation | |
... My First Test | |
... This test will try to Signin with Wrong Email | |
*** Keywords *** | |
Navigate To Store | |
Open Browser http://automationpractice.com/ browser=chrome | |
Verify Page Title Contains Store | |
${Get_title}= Get Title | |
Should Be Equal As Strings ${Get_title} My Store | |
Signin With Dummy Email | |
Click Element css=.login | |
Wait Until Page Contains Element email 20s | |
Input Text email test@email.com | |
Input Text passwd password123 | |
Click Element SubmitLogin | |
Wait Until Page Contains Authentication failed. | |
*** Test Cases *** | |
Open Store & Login Store With Wrong Credentials | |
Navigate To Store | |
Verify Page Title Contains Store | |
Signin With Dummy Email |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment