-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_testsuite.txt
More file actions
34 lines (31 loc) · 1.16 KB
/
example_testsuite.txt
File metadata and controls
34 lines (31 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
*** Settings ***
Documentation *Content overview*
...
... This testsuite checks the user login and logout capabilities of the _python.org_ website.
Suite Setup Open Browser ${SITE URL}
Suite Teardown Close Browser
Force Tags python.org
Library Selenium2Library
Resource example_testsuite_resource_file.txt
*** Test Cases ***
Test Navigate To User Sign In Page
[Documentation] *Verifies navigation to the sign in page*
[Tags] navigation
Navigate To User Sign In Page
Page Should Contain Username:
Page Should Contain Password:
Page Should Contain Button ${FORM BUTTON LOCATOR}
Location Should Be ${SIGN IN URL}
Test Sign In User
[Documentation] *Verifies that after login the user is directed to the main page*
[Tags] login
Sign In User
Page Should Contain Your account
Location Should Be ${SITE URL}/
Test Sign Out User
[Documentation] *Verifies that after logout the user is directed to the main page*
[Tags] logout
[Setup] Get New Browser
Sign Out User
Page Should Contain Sign In
Location Should Be ${SITE URL}/