| 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 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 Site Management driver |
|
| waitForElementPresent |
link=Sites Management |
|
| click |
link=Sites Management |
|
| pause |
1000 |
|
| echo |
--Add Free layout webcontent |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Free layout webcontent |
|
| click |
link=Free layout webcontent |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_ECMS_31 |
| type |
name |
Test_SNF_ECMS_31 |
| waitForElementPresent |
//td[contains(@id,'cke_contents_htmlData')]/iframe |
|
| selectFrame |
//td[contains(@id,'cke_contents_htmlData')]/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_31 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Save & Close |
|
| click |
link=Save & Close |
|
| pause |
3000 |
|
| echo |
--Edit Free layout webcontent |
|
| waitForElementPresent |
link=Test_SNF_ECMS_31 |
|
| click |
link=Test_SNF_ECMS_31 |
|
| waitForElementPresent |
link=Edit Document |
|
| click |
link=Edit Document |
|
| pause |
1000 |
|
| echo |
--Edit data |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_ECMS_31_Edit |
| waitForElementPresent |
//td[contains(@id,'cke_contents_htmlData')]/iframe |
|
| selectFrame |
//td[contains(@id,'cke_contents_htmlData')]/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_30_edit |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Save & Close |
|
| click |
link=Save & Close |
|
| pause |
1000 |
|
| echo |
--Delete Free layout webcontent |
|
| waitForElementPresent |
link=Test_SNF_ECMS_31_Edit |
|
| mouseDownRight |
link=Test_SNF_ECMS_31_Edit |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| echo |
-- OK -- |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| click |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| pause |
1000 |
|
| verifyTextNotPresent |
Test_SNF_ECMS_31_Edit |
|
| waitForTextNotPresent |
Test_SNF_ECMS_31_Edit |
|
| echo |
--Logout |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|