Created
August 12, 2019 12:34
-
-
Save gvasanka/0bd1176808045600248378e049b8443c to your computer and use it in GitHub Desktop.
Sample robot code
This file contains hidden or 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 | |
Test Setup Open Browser And Go To Page | |
Test Teardown Close Browser | |
*** Variables *** | |
${FORM_URL} https://www.google.com/ | |
${BROWSER} headlesschrome | |
*** Test Cases *** | |
Page Should Show Header | |
[Documentation] When visit the page it should show the text Hello World | |
Page Should Contain Google | |
*** Keywords *** | |
Open Browser And Go To Page | |
Open Browser ${FORM_URL} ${BROWSER} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment