3 ms·
pip install robotframework-selenium2library test.txt: *** Settings *** Library Selenium2Library *** Test Cases *** My First Test
by hpaavola 11y ago
pip install robotframework-selenium2library
test.txt:
*** Settings ***
Library Selenium2Library
*** Test Cases ***
My First Test
[Setup] Open Browser http://google.com firefox
Input Text name=q Robot Framework
Click Button name=btnG
Wait Until Page Contains Element ires
Click Link Robot Framework
[Teardown] Close All Browsers
and then execute
pybot test.txt
Selenium2 and Robot Framework are pretty neat when it comes to web testing.