| 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/private/acme/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/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 |
|
| echo |
-Go to Admin View |
|
| waitForElementPresent |
//a[@title='Admin View'] |
|
| click |
//a[@title='Admin View'] |
|
| echo |
-- acme |
|
| waitForElementPresent |
//a[text()='acme' and @style='cursor: pointer;'] |
|
| click |
//a[text()='acme' and @style='cursor: pointer;'] |
|
| echo |
-- acme/documents |
|
| waitForElementPresent |
link=documents |
|
| click |
link=documents |
|
| echo |
-- Go to Action |
|
| waitForElementPresent |
link=Actions |
|
| click |
link=Actions |
|
| pause |
3000 |
|
| echo |
-- Add Document |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| pause |
3000 |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_ECMS_06 |
| type |
name |
Test_SNF_ECMS_06 |
| waitForElementPresent |
//td[@id='cke_contents_summary']/iframe |
|
| selectFrame |
//td[@id='cke_contents_summary']/iframe |
|
| type |
//html/body |
I hate myself for loving you |
| selectFrame |
relative=top |
|
| selectFrame |
//td[@id='cke_contents_content']/iframe |
|
| type |
//html/body |
Em yeu chi ! Tieu Huong Duong |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| pause |
5000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
-- Log in John |
|
| waitForElementPresent |
link=Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
john |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Site Explorer |
|
| waitForElementPresent |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/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 |
|
| echo |
-- acme |
|
| waitForElementPresent |
//a[text()='acme' and @style='cursor: pointer;'] |
|
| click |
//a[text()='acme' and @style='cursor: pointer;'] |
|
| echo |
-- acme/documents |
|
| waitForElementPresent |
link=documents |
|
| click |
link=documents |
|
| waitForElementPresent |
link=Test_SNF_ECMS_06 |
|
| click |
link=Test_SNF_ECMS_06 |
|
| echo |
-- Public document |
|
| waitForElementPresent |
link=Manage Publications |
|
| click |
link=Manage Publications |
|
| waitForElementPresent |
link=Published |
|
| click |
link=Published |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
3000 |
|
| echo |
-- Check the public content in CLV |
|
| waitForElementPresent |
link=Overview |
|
| clickAndWait |
link=Overview |
|
| waitForElementPresent |
keyword |
|
| type |
keyword |
Test_SNF_ECMS_06 |
| keyPress |
keyword |
\13 |
| pause |
3000 |
|
| waitForElementPresent |
link=Test_SNF_ECMS_06 |
|
| clickAndWait |
link=Test_SNF_ECMS_06 |
|
| waitForTextPresent |
I hate myself for loving you |
|
| verifyTextPresent |
I hate myself for loving you |
|
| waitForTextPresent |
Em yeu chi ! Tieu Huong Duong |
|
| verifyTextPresent |
Em yeu chi ! Tieu Huong Duong |
|
| waitForElementPresent |
//div[@id='UIPresentationContainer']/div[4]/div |
|
| click |
//div[@id='UIPresentationContainer']/div[4]/div |
|
| echo |
-- Delete document |
|
| waitForElementPresent |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| waitForElementPresent |
link=documents |
|
| click |
link=documents |
|
| waitForElementPresent |
link=Test_SNF_ECMS_06 |
|
| mouseDownRight |
link=Test_SNF_ECMS_06 |
|
| waitForElementPresent |
link=Delete |
|
| 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 |
|
| pause |
5000 |
|
| echo |
-- Log out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|