Created
September 14, 2020 00:45
-
-
Save atthaboon/5ab1565fb847e6e64eddc952bcbe788f 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 PuppeteerLibrary | |
*** Test Cases *** | |
Submit login form | |
&{options} = create dictionary headless=${False} | |
Open browser http://127.0.0.1:7272/login-form-example.html options=${options} | |
Input Text id=exampleInputEmail1 demo@qahive.com | |
Input Text id=exampleInputPassword1 123456789 | |
Click Element id=exampleCheck1 | |
Run Async Keywords | |
... Wait For New Window Open AND | |
... Click Element css=button[type="submit"] | |
Switch Window NEW | |
Wait Until Page Contains Login succeeded | |
Close Browser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment