Created
February 21, 2021 01:38
-
-
Save khanbhai89/03e9ecabfef0e56c66eef277180a2ebb to your computer and use it in GitHub Desktop.
Robot Framework Basic Tests https://medium.com/swlh/robot-framework-the-basics-dfeadc025bea
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 Verify Google | |
*** Keywords *** | |
Navigate To Google | |
Open Browser https://www.google.com browser=chrome | |
Verify Page Contains Google | |
${Get_title}= Get Title | |
Should Be Equal As Strings ${Get_title} Google | |
Close Browser | |
*** Test Cases *** | |
Open Google & Verify Google | |
Navigate To Google | |
Verify Page Contains Google |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this example. 👏
It is oddly hard to find a simple example for this and it is fantastic that this is in one file.
I used an additional file:
requirements.txt
(bash) Setup a venv and source it: (named env)
(bash) Install from requirements.txt