| open |
/portal/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 |
link=Sites Explorer |
|
| echo |
--Open driver pane |
|
| 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 |
|
| echo |
--Open Private driver |
|
| waitForElementPresent |
link=Public |
|
| click |
link=Public |
|
| echo |
--Go to Detail View |
|
| waitForElementPresent |
//form[@id='UIAddressBar']/div[2]/table/tbody/tr/td[1]/a |
|
| click |
//form[@id='UIAddressBar']/div[2]/table/tbody/tr/td[1]/a |
|
| echo |
-- Go to Action tab |
|
| pause |
3000 |
|
| waitForElementPresent |
link=Actions |
|
| click |
link=Actions |
|
| pause |
3000 |
|
| echo |
-- Add Content folder |
|
| waitForElementPresent |
link=Add Folder |
|
| click |
link=Add Folder |
|
| waitForElementPresent |
name |
|
| type |
name |
Test_SNF_ECMS_38 |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
3000 |
|
| echo |
--Add Favorite |
|
| waitForElementPresent |
link=Test_SNF_ECMS_38 |
|
| mouseDownRight |
link=Test_SNF_ECMS_38 |
|
| click |
link=Add to favorite |
|
| echo |
--Remove Favorite |
|
| waitForElementPresent |
link=Test_SNF_ECMS_38 |
|
| mouseDownRight |
link=Test_SNF_ECMS_38 |
|
| click |
link=Remove from favorite |
|
| echo |
--Delete Content Folder |
|
| waitForElementPresent |
link=Test_SNF_ECMS_38 |
|
| mouseDownRight |
link=Test_SNF_ECMS_38 |
|
| waitForElementPresent |
//div[@class='MenuItem']/a[contains(text(),'Delete')] |
|
| click |
//div[@class='MenuItem']/a[contains(text(),'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_38 |
|
| verifyElementNotPresent |
link=Test_SNF_ECMS_38 |
|
| echo |
--Logout |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|