| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Login |
|
| waitForElementPresent |
link=Login |
|
| click |
link=Login |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Go to Sites Explorer |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| echo |
--Open driver pane |
|
| waitForElementPresent |
//div[@title='Show Drives'] |
|
| click |
//div[@title='Show Drives'] |
|
| echo |
--Open Site Management driver |
|
| waitForElementPresent |
link=Sites Management |
|
| click |
link=Sites Management |
|
| pause |
1000 |
|
| echo |
--Add Kofax |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Kofax document |
|
| click |
link=Kofax document |
|
| pause |
1000 |
|
| waitForElementPresent |
name |
|
| type |
name |
Kofax |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
1000 |
|
| echo |
--Edit Kofax |
|
| waitForElementPresent |
link=Kofax |
|
| click |
link=Kofax |
|
| waitForElementPresent |
link=Edit Document |
|
| click |
link=Edit Document |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
1000 |
|
| echo |
--Delete Kofax |
|
| waitForElementPresent |
link=Kofax |
|
| mouseDownRight |
link=Kofax |
|
| click |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']//a[text()='OK'] |
|
| click |
//div[@id='UIPopupWindow']//a[text()='OK'] |
|
| pause |
1000 |
|
| verifyTextNotPresent |
link=Kofax |
|
| echo |
--Logout |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|