-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTestSuite
More file actions
42 lines (38 loc) · 1.45 KB
/
TestSuite
File metadata and controls
42 lines (38 loc) · 1.45 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
35
36
37
38
39
40
41
42
*** Settings ***
Library SeleniumLibrary
*** Variables ***
${url} https://opensource-demo.orangehrmlive.com
${userName} Admin
${password} admin123
*** Test Cases ***
TC1 with Chrome
[Setup] Open Browser ${url} chrome
Log To Console Chrome Test Started
Comment Open Browser https://opensource-demo.orangehrmlive.com/ chrome
Input Text id=txtUsername ${userName}
Input Password id=txtPassword ${password}
Click Button id=btnLogin
Comment Sleep 5
Comment Close Browser
[Teardown] Close Browser
TC2 with Firefox
[Setup] Open Browser ${url} ff
Log To Console Chrome Test Finish and FF test Started
Comment Open Browser https://opensource-demo.orangehrmlive.com/ ff
Input Text id=txtUsername ${userName}
Input Password id=txtPassword ${password}
Click Button id=btnLogin
Comment Sleep 5
Comment Close Browser
[Teardown] Close Browser
TC3 with IE
[Setup] Open Browser ${url} ie
Log To Console FF Test Finish and IE test Started
Comment Open Browser https://opensource-demo.orangehrmlive.com/ ie
Set Window Size 800 600
Input Text id=txtUsername ${userName}
Input Password id=txtPassword ${password}
Click Button id=btnLogin
Comment Sleep 5
Comment Close Browser
Log To Console FF Test Finish