open |
/index.php/auth/login |
|
click |
css=span.form-hint |
|
type |
id=txtUsername |
Admin |
type |
id=txtPassword |
admin123 |
clickAndWait |
id=btnLogin |
|
click |
id=welcome |
|
click |
//div[@id='welcome-menu']/ul/li[2] |
|
click |
id=welcome |
|
clickAndWait |
link=Logout |
|
verifyTitle |
OrangeHRM |
|
verifyText |
css=span |
( Username : Admin | Password : admin123 ) |
verifyElementPresent |
css=img |
|
assertTitle |
OrangeHRM |
|
assertText |
css=span |
( Username : Admin | Password : admin123 ) |
assertElementPresent |
id=divLogin |
|
assertAllWindowTitles |
OrangeHRM |
( Username : Admin | Password : admin123 ) |
|
|
|