Created
November 18, 2019 16:04
-
-
Save filipgorczynski/068b6f8cdcfa54d3404d0cbf7aeb94e2 to your computer and use it in GitHub Desktop.
Simple example showing Robot Framework capabilities
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 | |
Test Teardown Close Browser | |
*** Variables *** | |
${home_url}= https://olx.pl/ | |
*** Keywords *** | |
User Opens Browser | |
Open Browser about:blank firefox | |
User Navigates To Olx Homepage | |
Go To ${home_url} | |
User Should Be Able To See Main Search Block | |
Wait Until Element Is Visible css:#searchmain | |
*** Test Cases *** | |
Home Page Contains Search Block | |
Open Browser ${home_url} firefox | |
Wait Until Element Is Visible css:#searchmain | |
Home Page Contains Search Block (BDD) | |
Given User Opens Browser | |
When User Navigates To Olx Homepage | |
Then User Should Be Able To See Main Search Block |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment