Debian Codegraph @

tests/inputs/robotframework.tsv

raw
1 # https://bitbucket.org/robotframework/webdemo/src/master/login_tests/resource.txt
2 Comment https://bitbucket.org/robotframework/webdemo/src/master/login_tests/resource.txt
3 *** Settings ***
4 Documentation A resource file with reusable keywords and variables.
5 ...
6 ... The system specific keywords created here form our own
7 ... domain specific language. They utilize keywords provided
8 ... by the imported Selenium2Library.
9 Library Selenium2Library
10
11 *** Variables ***
12 ${SERVER} localhost:7272
13 ${BROWSER} Firefox
14 ${DELAY} 0
15 ${VALID USER} demo
16 ${VALID PASSWORD} mode
17 ${LOGIN URL} http://${SERVER}/
18 ${WELCOME URL} http://${SERVER}/welcome.html
19 ${ERROR URL} http://${SERVER}/error.html
20
21 *** Keywords ***
22 Open Browser To Login Page
23 Open Browser ${LOGIN URL} ${BROWSER}
24 Maximize Browser Window
25 Set Selenium Speed ${DELAY}
26 Login Page Should Be Open
27
28 Login Page Should Be Open
29 Title Should Be Login Page
30
31 Go To Login Page
32 Go To ${LOGIN URL}
33 Login Page Should Be Open
34
35 Input Username
36 [Arguments] ${username}
37 Input Text username_field ${username}
38
39 Input Password
40 [Arguments] ${password}
41 Input Text password_field ${password}
42
43 Submit Credentials
44 Click Button login_button
45
46 Welcome Page Should Be Open
47 Location Should Be ${WELCOME URL}
48 Title Should Be Welcome Page
49