| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Log in |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Select drive |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| echo |
--Open driver pane |
|
| waitForElementPresent |
//div[@title='Show Drives'] |
|
| click |
//div[@title='Show Drives'] |
|
| echo |
--Open Private driver |
|
| waitForElementPresent |
link=Private |
|
| click |
link=Private |
|
| echo |
-Go to Admin View |
|
| pause |
10000 |
|
| waitForElementPresent |
//a[@title='Admin View'] |
|
| click |
//a[@title='Admin View'] |
|
| pause |
10000 |
|
| echo |
-- Go to Action tab |
|
| waitForElementPresent |
link=Actions |
|
| click |
link=Actions |
|
| pause |
10000 |
|
| echo |
--- Create document |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| pause |
3000 |
|
| waitForElementPresent |
selectTemplate |
|
| select |
selectTemplate |
label=Sample node |
| click |
//option[@value='exo:sample'] |
|
| pause |
10000 |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_ECMS_27 |
| type |
summary |
sample node |
| type |
content |
sample node |
| echo |
-- Save as Draft |
|
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| pause |
10000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
10000 |
|
| echo |
-- Edit Document |
|
| waitForElementPresent |
link=Edit Document |
|
| click |
link=Edit Document |
|
| waitForElementPresent |
description |
|
| type |
description |
this is a test |
| echo |
-- Save as Draft |
|
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| pause |
10000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
10000 |
|
| echo |
--- Delete |
|
| waitForElementPresent |
link=Test_SNF_ECMS_27 |
|
| mouseDownRight |
link=Test_SNF_ECMS_27 |
|
| click |
link=Delete |
|
| echo |
-- ok |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']/div/div[2]/div/div/div/div/div/div/div/div[2]/table/tbody/tr/td/div[1]/div/div/div/a |
|
| click |
//div[@id='UIPopupWindow']/div/div[2]/div/div/div/div/div/div/div/div[2]/table/tbody/tr/td/div[1]/div/div/div/a |
|
| pause |
10000 |
|
| echo |
-- Log out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|