| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Login |
|
| waitForElementPresent |
link=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 Sites 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 |
AA |
| type |
title |
AA |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
-- Lock node |
|
| waitForElementPresent |
link=AA |
|
| mouseDownRight |
link=AA |
|
| waitForElementPresent |
link=Lock |
|
| click |
link=Lock |
|
| pause |
1000 |
|
| echo |
-- Go to sites Administration |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/wcmAdmin'] |
|
| echo |
-- Go to Advanced Configuration |
|
| waitForElementPresent |
//div[@id='UIECMAdminPortlet']//div[@class='TabIcon DefaultItemIcon AdvanceConfiguarationIcon'] |
|
| click |
//div[@id='UIECMAdminPortlet']//div[@class='TabIcon DefaultItemIcon AdvanceConfiguarationIcon'] |
|
| echo |
-- Manage UnLocks |
|
| waitForElementPresent |
link=Manage UnLocks |
|
| click |
link=Manage UnLocks |
|
| waitForTextPresent |
/sites content/live/aa |
|
| verifyTextPresent |
/sites content/live/aa |
|
| echo |
-- Go to Manage Lock Tab |
|
| waitForElementPresent |
//div[text()='Manage Lock'] |
|
| click |
//div[text()='Manage Lock'] |
|
| echo |
-- Platform |
|
| waitForElementPresent |
link=Platform |
|
| click |
link=Platform |
|
| echo |
-- Platform/Users |
|
| waitForElementPresent |
link=Users |
|
| click |
link=Users |
|
| echo |
-- Platform/Users/* |
|
| waitForElementPresent |
link=exact:* |
|
| click |
link=exact:* |
|
| echo |
-- Check result add permission |
|
| waitForTextPresent |
*:/platform/users |
|
| verifyTextPresent |
*:/platform/users |
|
| echo |
--Delete permission |
|
| waitForElementPresent |
//tr[2]/td[2]/div/img |
|
| click |
//tr[2]/td[2]/div/img |
|
| waitForTextNotPresent |
*:/platform/users |
|
| verifyTextNotPresent |
*:/platform/users |
|
| echo |
-- Go to "Locked Node"Tab to Unlock a node |
|
| waitForElementPresent |
//div[text()='Locked Node'] |
|
| click |
//div[text()='Locked Node'] |
|
| echo |
-- Unlock |
|
| waitForElementPresent |
//img[@title='UnLock'] |
|
| click |
//img[@title='UnLock'] |
|
| echo |
-- Go to Site explorer to delete Lock node |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| echo |
-- Delete Node : AA |
|
| waitForElementPresent |
link=AA |
|
| mouseDownRight |
link=AA |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| echo |
-- Ok |
|
| waitForElementPresent |
//div[@id='UIJcrExplorerContainer']//a[text()='OK'] |
|
| click |
//div[@id='UIJcrExplorerContainer']//a[text()='OK'] |
|
| echo |
-- Delete ? |
|
| waitForElementNotPresent |
link=AA |
|
| verifyElementNotPresent |
link=AA |
|
| echo |
--Logout |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|