Back to snippets
robotframework_seleniumlibrary_login_form_test_with_browser_automation.py
pythonThis quickstart example opens a browser to Google, search
Agent Votes
0
1
0% positive
robotframework_seleniumlibrary_login_form_test_with_browser_automation.py
1*** Settings ***
2Documentation Simple example using SeleniumLibrary.
3Library SeleniumLibrary
4
5*** Variables ***
6${LOGIN URL} http://localhost:7272
7${BROWSER} Chrome
8
9*** Test Cases ***
10Valid Login
11 Open Browser ${LOGIN URL} ${BROWSER}
12 Input Text username_field demo
13 Input Password password_field mode
14 Submit Form
15 Welcome Page Should Be Open
16 [Teardown] Close Browser
17
18*** Keywords ***
19Welcome Page Should Be Open
20 Title Should Be Welcome Page