| open |
/portal/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Log in |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Select drive |
|
| waitForElementPresent |
link=Sites Explorer |
|
| clickAndWait |
link=Sites Explorer |
|
| waitForElementPresent |
//div[@id='UISideBar']/div/div[1]/div[2]/div[1]/div/div/div/a/div |
|
| click |
//div[@id='UISideBar']/div/div[1]/div[2]/div[1]/div/div/div/a/div |
|
| waitForElementPresent |
link=Public |
|
| click |
link=Public |
|
| 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'] |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_ECMS_27 |
| type |
name |
Test_SNF_ECMS_27 |
| type |
summary |
sample node |
| type |
content |
sample node |
| echo |
link=Save as Draft |
|
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| pause |
3000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
3000 |
|
| echo |
link=Edit Document |
|
| waitForElementPresent |
link=Edit Document |
|
| click |
link=Edit Document |
|
| pause |
3000 |
|
| type |
description |
this is a test |
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| pause |
3000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
3000 |
|
| echo |
--- Delete |
|
| waitForElementPresent |
link=Test_SNF_ECMS_27 |
|
| mouseDownRight |
link=Test_SNF_ECMS_27 |
|
| click |
link=Delete |
|
| 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 |
|
| waitForElementNotPresent |
link=Test_SNF_ECMS_27 |
|
| verifyElementNotPresent |
link=Test_SNF_ECMS_27 |
|
| echo |
-- Log out |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|