Created
February 21, 2021 06:03
-
-
Save khanbhai89/c85674bd9780f5f718e65d92566ed9d5 to your computer and use it in GitHub Desktop.
This file is final outlook of our tutorial on Medium.
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 | |
Library ./lib/CustomLib.py | |
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 | |
${random_email} Generate Random Emails ${8} | |
Input Text email ${random_email} | |
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 | |
Close Browser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment