| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Log in |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
mary |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Create new holiday request |
|
| waitForElementPresent |
link=Business Process Controller |
|
| clickAndWait |
link=Business Process Controller |
|
| waitForElementPresent |
//div[@id='UIControllerManager']//div[text()="BP Definition Controller"] |
|
| click |
//div[@id='UIControllerManager']//div[text()="BP Definition Controller"] |
|
| waitForElementPresent |
//img[@title='Manage Start'] |
|
| click |
//img[@title='Manage Start'] |
|
| waitForElementPresent |
end |
|
| click |
end |
|
| waitForElementPresent |
//a[@title='Next Year'] |
|
| click |
//a[@title='Next Year'] |
|
| waitForElementPresent |
link=25 |
|
| click |
link=25 |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
-- Login by administrator |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Login and refuse request |
|
| waitForElementPresent |
link=Business Process Controller |
|
| clickAndWait |
link=Business Process Controller |
|
| waitForElementPresent |
link=Manage |
|
| click |
link=Manage |
|
| waitForElementPresent |
link=Refuse |
|
| click |
link=Refuse |
|
| echo |
-- Log out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|