| open |
/portal/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- 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 |
|
| waitForElementPresent |
link=Actions |
|
| click |
link=Actions |
|
| echo |
--Add Picture on head layout webcontent |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| waitForElementPresent |
selectTemplate |
label=Picture on head layout webcontent |
| select |
selectTemplate |
label=Picture on head layout webcontent |
| waitForElementPresent |
name |
|
| type |
name |
Test_SNF_30 |
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_30 |
| waitForElementPresent |
//td[contains(@id,'cke_contents_htmlData')]/iframe |
|
| selectFrame |
//td[contains(@id,'cke_contents_htmlData')]/iframe |
|
| type |
//html/body |
Manchester |
| selectFrame |
relative=top |
|
| echo |
--Save as draft |
|
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| echo |
--Close form |
|
| waitForElementPresent |
//a[2]/div/div/div |
|
| click |
//a[2]/div/div/div |
|
| echo |
--Edit Free layout webcontent |
|
| waitForElementPresent |
link=Test_SNF_30 |
|
| click |
link=Test_SNF_30 |
|
| waitForElementPresent |
link=Edit Document |
|
| click |
link=Edit Document |
|
| waitForElementPresent |
name |
|
| type |
name |
Test_SNF_ECMS_30 |
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_ECMS_30 |
| waitForElementPresent |
//td[contains(@id,'cke_contents_htmlData')]/iframe |
|
| selectFrame |
//td[contains(@id,'cke_contents_htmlData')]/iframe |
|
| typeKeys |
//html/body |
Manchester |
| selectFrame |
relative=top |
|
| echo |
--Save as draft |
|
| waitForElementPresent |
//a[1]/div/div/div |
|
| click |
//a[1]/div/div/div |
|
| echo |
--Close form |
|
| waitForElementPresent |
//a[2]/div/div/div |
|
| click |
//a[2]/div/div/div |
|
| echo |
--Delete Picture on head layout webcontent |
|
| waitForElementPresent |
link=Test_SNF_ECMS_30 |
|
| mouseDownRight |
link=Test_SNF_ECMS_30 |
|
| 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=Picture on head layout webcontent edit |
|
| verifyElementNotPresent |
link=Picture on head layout webcontent edit |
|
| echo |
--Logout |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|