| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
--Go to site 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 folder |
|
| waitForElementPresent |
link=Add Folder |
|
| click |
link=Add Folder |
|
| waitForElementPresent |
name |
|
| type |
name |
Test_SNF_ECMS_35 |
| type |
title |
Test_SNF_ECMS_35 |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| echo |
--Lock node |
|
| waitForElementPresent |
link=Test_SNF_ECMS_35 |
|
| mouseDownRight |
link=Test_SNF_ECMS_35 |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Lock |
|
| click |
link=Lock |
|
| echo |
--Unlock node |
|
| waitForElementPresent |
link=Test_SNF_ECMS_35 |
|
| mouseDownRight |
link=Test_SNF_ECMS_35 |
|
| click |
link=UnLock |
|
| echo |
--Delete Lock |
|
| waitForElementPresent |
link=Test_SNF_ECMS_35 |
|
| mouseDownRight |
link=Test_SNF_ECMS_35 |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| click |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| pause |
1000 |
|
| waitForTextNotPresent |
link=Test_SNF_ECMS_35 |
|
| verifyTextNotPresent |
link=Test_SNF_ECMS_35 |
|
| echo |
--Logout |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|