| 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 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 Private driver |
|
| waitForElementPresent |
link=Private |
|
| click |
link=Private |
|
| pause |
1000 |
|
| echo |
-- Go to Action tab |
|
| waitForElementPresent |
link=Actions |
|
| click |
link=Actions |
|
| pause |
1000 |
|
| echo |
-- Add folder |
|
| waitForElementPresent |
link=Add Folder |
|
| click |
link=Add Folder |
|
| waitForElementPresent |
name |
|
| type |
name |
Test_SNF_ECMS_38 |
| type |
title |
Test_SNF_ECMS_38 |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| echo |
--Add Favorite |
|
| waitForElementPresent |
link=Test_SNF_ECMS_38 |
|
| mouseDownRight |
link=Test_SNF_ECMS_38 |
|
| waitForElementPresent |
link=Add to favorite |
|
| click |
link=Add to favorite |
|
| echo |
-- Check in FAvorites |
|
| waitForElementPresent |
link=Favorites |
|
| click |
link=Favorites |
|
| pause |
1000 |
|
| waitForElementPresent |
//div[@id='iconTreeExplorer']//a |
|
| verifyElementPresent |
//div[@id='iconTreeExplorer']//a |
|
| echo |
--Remove Favorite |
|
| waitForElementPresent |
link=Test_SNF_ECMS_38 |
|
| mouseDownRight |
link=Test_SNF_ECMS_38 |
|
| waitForElementPresent |
link=Remove from favorite |
|
| click |
link=Remove from favorite |
|
| pause |
1000 |
|
| echo |
-- Check remove Favorites |
|
| waitForElementNotPresent |
//div[@id='UIDocumentInfo']//div[text()='Test_SNF_ECMS_38'] |
|
| verifyElementNotPresent |
//div[@id='UIDocumentInfo']//div[text()='Test_SNF_ECMS_38'] |
|
| echo |
--Delete Content Folder |
|
| waitForElementPresent |
link=Test_SNF_ECMS_38 |
|
| mouseDownRight |
link=Test_SNF_ECMS_38 |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| click |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| echo |
--Delete Yes or No |
|
| waitForElementNotPresent |
link=Test_SNF_ECMS_38 |
|
| verifyElementNotPresent |
link=Test_SNF_ECMS_38 |
|
| echo |
--Logout |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|