| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Log in |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Site Explorer |
|
| waitForElementPresent |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| echo |
-- Browse all drives |
|
| waitForElementPresent |
//div[@title='Show Drives'] |
|
| click |
//div[@title='Show Drives'] |
|
| echo |
-- Sites Management |
|
| waitForElementPresent |
link=Sites Management |
|
| click |
link=Sites Management |
|
| pause |
1000 |
|
| echo |
-- acme |
|
| waitForElementPresent |
//div[@id='iconTreeExplorer']//a[@title='acme '] |
|
| click |
//div[@id='iconTreeExplorer']//a[@title='acme '] |
|
| echo |
-- ecme/documents |
|
| waitForElementPresent |
link=documents |
|
| click |
link=documents |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| waitForElementPresent |
link=Article |
|
| click |
link=Article |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_ECMS_07 |
| type |
name |
Test_SNF_ECMS_07 |
| pause |
1000 |
|
| waitForElementPresent |
//td[@id='cke_contents_summary']/iframe |
|
| selectFrame |
//td[@id='cke_contents_summary']/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_07 |
| selectFrame |
relative=top |
|
| selectFrame |
//td[@id='cke_contents_content']/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_07 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
1000 |
|
| echo |
-- Check the draft content in CLV |
|
| waitForElementPresent |
link=Overview |
|
| clickAndWait |
link=Overview |
|
| waitForTextNotPresent |
Test_SNF_ECMS_07 |
|
| verifyTextNotPresent |
Test_SNF_ECMS_07 |
|
| select |
EditingOptions |
label=Edit |
| pause |
1000 |
|
| waitForElementPresent |
link=Test_SNF_ECMS_07 |
|
| verifyElementPresent |
link=Test_SNF_ECMS_07 |
|
| waitForElementPresent |
EditingOptions |
label=Published |
| select |
EditingOptions |
label=Published |
| echo |
-- Delete document |
|
| waitForElementPresent |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| waitForElementPresent |
link=Test_SNF_ECMS_07 |
|
| mouseDownRight |
link=Test_SNF_ECMS_07 |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| click |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| pause |
1000 |
|
| waitForTextNotPresent |
link=Test_SNF_ECMS_07 |
|
| verifyTextNotPresent |
link=Test_SNF_ECMS_07 |
|
| echo |
-- Log out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|