| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Log in-- |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Add action for view-- |
|
| waitForElementPresent |
//a[@href='/ecmdemo/groups/:platform:web-contributors/wcmAdmin'] |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/wcmAdmin'] |
|
| echo |
-- Content Presentation |
|
| waitForElementPresent |
//div[contains(text(),'Content Presentation')] |
|
| click |
//div[contains(text(),'Content Presentation')] |
|
| echo |
-- Manage View-- |
|
| waitForElementPresent |
link=Manage View |
|
| click |
link=Manage View |
|
| waitForElementPresent |
link=2 |
|
| click |
link=2 |
|
| pause |
1000 |
|
| echo |
-- Edit wcm-view-- |
|
| waitForElementPresent |
//div[@id='UIViewList']/table/tbody/tr[3]/td[5]/div/img[2] |
|
| click |
//div[@id='UIViewList']/table/tbody/tr[3]/td[5]/div/img[2] |
|
| echo |
-- Publication |
|
| waitForElementPresent |
link=Publication |
|
| click |
link=Publication |
|
| echo |
-- Check Manage Action-- |
|
| waitForElementPresent |
manageActions |
|
| check |
manageActions |
|
| echo |
--save1-- |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| echo |
-- Save2-- |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| 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 |
|
| echo |
-- acme-- |
|
| waitForElementPresent |
//a[@title='acme '] |
|
| click |
//a[@title='acme '] |
|
| echo |
-- acme/documents |
|
| waitForElementPresent |
link=documents |
|
| click |
link=documents |
|
| echo |
-- Manage Actions-- |
|
| waitForElementPresent |
link=Manage Actions |
|
| click |
link=Manage Actions |
|
| echo |
-- Add Action tab |
|
| waitForElementPresent |
//div[text()='Add Action'] |
|
| click |
//div[text()='Add Action'] |
|
| pause |
5000 |
|
| waitForElementPresent |
actionType |
|
| select |
actionType |
label=exo:sendMailAction |
| type |
actionName |
Test_SNF_ECMS_15 |
| addSelection |
lifecycle |
label=User Action |
| waitForElementPresent |
to |
|
| type |
to |
Test_SNF_ECMS_15@gmail.com |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
1000 |
|
| echo |
-- Create new configuration-- |
|
| clickAndWait |
link=Overview |
|
| clickAndWait |
//a[text()='Contact Us'] |
|
| echo |
-- Edit Contact Us page |
|
| waitForElementPresent |
link=Edit Page |
|
| click |
link=Edit Page |
|
| waitForElementPresent |
//a[@title='Edit Portlet'] |
|
| mouseOver |
//a[@title='Edit Portlet'] |
|
| click |
//a[@title='Edit Portlet'] |
|
| pause |
1000 |
|
| waitForElementPresent |
UIFCCMessageFormTextareaInput |
|
| type |
UIFCCMessageFormTextareaInput |
Test_SNF_ECMS_15_FCCPortlet_ecmdemo |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| echo |
-- OK-- |
|
| waitForElementPresent |
//div[@id='UIFCCPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIFCCPortlet']//a[text()='OK'] |
|
| echo |
-- Close-- |
|
| waitForElementPresent |
Close |
|
| click |
Close |
|
| echo |
-- Close-- |
|
| waitForElementPresent |
//a[@title='Finish'] |
|
| click |
//a[@title='Finish'] |
|
| pause |
1000 |
|
| echo |
-- Create new document using new configuration |
|
| waitForElementPresent |
your_nameFieldName |
|
| type |
your_nameFieldName |
Test_SNF_ECMS_15 |
| type |
your_addressFieldName |
Test_SNF_ECMS_15 |
| type |
your_email_addressFieldName |
Test_SNF_ECMS_15 |
| type |
your_phone_numberFieldName |
123456 |
| type |
your_messageFieldName |
Test_SNF_ECMS_15 |
| waitForElementPresent |
link=Send |
|
| click |
link=Send |
|
| pause |
1000 |
|
| echo |
-- Delete action |
|
| waitForElementPresent |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| waitForElementPresent |
link=Manage Actions |
|
| click |
link=Manage Actions |
|
| waitForElementPresent |
//img[@title='Delete'] |
|
| click |
//img[@title='Delete'] |
|
| assertConfirmation |
Do yo really want to delete this action? |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| echo |
-- Refresh to file display |
|
| waitForElementPresent |
//a[@title='Refresh'] |
|
| click |
//a[@title='Refresh'] |
|
| echo |
-- Refresh to file display |
|
| pause |
1000 |
|
| waitForElementPresent |
//div[@id='UIJCRExplorerPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIJCRExplorerPortlet']//a[text()='OK'] |
|
| pause |
1000 |
|
| echo |
-- Delete created document-- |
|
| waitForElementPresent |
//div[4]/div[2]/div[1]/div/div/div[2]/a |
|
| click |
//div[4]/div[2]/div[1]/div/div/div[2]/a |
|
| echo |
-- Verify Result-- |
|
| waitForTextPresent |
Test_SNF_ECMS_15 |
|
| verifyTextPresent |
Test_SNF_ECMS_15 |
|
| verifyTextPresent |
Test_SNF_ECMS_15 |
|
| verifyTextPresent |
Test_SNF_ECMS_15 |
|
| mouseDownRight |
//div[4]/div[2]/div[1]/div/div/div[2]/a |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']//a[text()='OK'] |
|
| click |
//div[@id='UIPopupWindow']//a[text()='OK'] |
|
| pause |
1000 |
|
| echo |
-- Log out-- |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|