| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| waitForElementPresent |
//a[@href='/ecmdemo/groups/:platform:web-contributors/wcmAdmin'] |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/wcmAdmin'] |
|
| echo |
-- Content Presentation |
|
| waitForElementPresent |
//div[@id='UIECMAdminPortlet']//div[contains(text(),'Content Presentation')] |
|
| click |
//div[@id='UIECMAdminPortlet']//div[contains(text(),'Content Presentation')] |
|
| waitForElementPresent |
link=Manage Drives |
|
| click |
link=Manage Drives |
|
| waitForElementPresent |
link=Add Drive |
|
| click |
link=Add Drive |
|
| waitForElementPresent |
name |
|
| type |
name |
Test_SNF_ECMS_82 |
| select |
workspace |
label=collaboration |
| waitForElementPresent |
//option[@value='collaboration'] |
|
| click |
//option[@value='collaboration'] |
|
| waitForElementPresent |
//img[@title='Add Path'] |
|
| click |
//img[@title='Add Path'] |
|
| waitForElementPresent |
//div[@id='UISelectPathPanel']/table/tbody/tr[4]/td[2]/a/div |
|
| click |
//div[@id='UISelectPathPanel']/table/tbody/tr[4]/td[2]/a/div |
|
| waitForElementPresent |
//img[@title='Add Permission'] |
|
| click |
//img[@title='Add Permission'] |
|
| waitForElementPresent |
//img[@title='Set any Permission'] |
|
| click |
//img[@title='Set any Permission'] |
|
| waitForElementPresent |
//form[@id='UIDriveForm']//input[@name='viewSideBar'] |
|
| click |
//form[@id='UIDriveForm']//input[@name='viewSideBar'] |
|
| addSelection |
allowCreateFolders |
label=Unstructured folder |
| waitForElementPresent |
//div[text()='Apply Views'] |
|
| click |
//div[text()='Apply Views'] |
|
| waitForElementPresent |
admin-view |
|
| click |
admin-view |
|
| waitForElementPresent |
icon-view |
|
| click |
icon-view |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
mary |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| waitForElementPresent |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| waitForElementPresent |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| click |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| waitForElementPresent |
link=Test_SNF_ECMS_82 |
|
| click |
link=Test_SNF_ECMS_82 |
|
| waitForElementPresent |
link=Validation Requests |
|
| click |
link=Validation Requests |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Article |
|
| click |
link=Article |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_ECMS_82 |
| waitForElementPresent |
//td[@id='cke_contents_summary']/iframe |
|
| selectFrame |
//td[@id='cke_contents_summary']/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_82 |
| selectFrame |
relative=top |
|
| selectFrame |
//td[@id='cke_contents_content']/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_69 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Save & Close |
|
| click |
link=Save & Close |
|
| pause |
1000 |
|
| clickAndWait |
link=Sign out |
|
| waitForElementPresent |
link=Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| waitForElementPresent |
link=Business Process Controller |
|
| clickAndWait |
link=Business Process Controller |
|
| waitForElementPresent |
link=Manage |
|
| click |
link=Manage |
|
| waitForElementPresent |
link=Refuse |
|
| click |
link=Refuse |
|
| waitForElementPresent |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| waitForElementPresent |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| click |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| waitForElementPresent |
link=Test_SNF_ECMS_82 |
|
| click |
link=Test_SNF_ECMS_82 |
|
| waitForElementPresent |
link=Trash |
|
| click |
link=Trash |
|
| echo |
-- Year -- |
|
| waitForElementPresent |
//div[2]/div/div/div/div[2]/a |
|
| click |
//div[2]/div/div/div/div[2]/a |
|
| echo |
-- Month -- |
|
| waitForElementPresent |
//div[2]/div/div[2]/div/div/div/div[2]/a |
|
| click |
//div[2]/div/div[2]/div/div/div/div[2]/a |
|
| echo |
-- Day -- |
|
| waitForElementPresent |
//div[2]/div/div[2]/div/div[2]/div/div/div/div[2]/a |
|
| click |
//div[2]/div/div[2]/div/div[2]/div/div/div/div[2]/a |
|
| waitForElementPresent |
//a[@href='/ecmdemo/groups/:platform:web-contributors/wcmAdmin'] |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/wcmAdmin'] |
|
| echo |
-- Content Presentation |
|
| waitForElementPresent |
//div[@id='UIECMAdminPortlet']//div[contains(text(),'Content Presentation')] |
|
| click |
//div[@id='UIECMAdminPortlet']//div[contains(text(),'Content Presentation')] |
|
| waitForElementPresent |
link=Manage Drives |
|
| click |
link=Manage Drives |
|
| waitForElementPresent |
link=2 |
|
| click |
link=2 |
|
| waitForElementPresent |
//div[@id='UIDriveList']/table/tbody/tr[3]/td[7]/div/img[2] |
|
| click |
//div[@id='UIDriveList']/table/tbody/tr[3]/td[7]/div/img[2] |
|
| assertConfirmation |
Do you really want to delete ? |
|
| waitForElementNotPresent |
link=Test_SNF_82 |
|
| verifyElementNotPresent |
link=Test_SNF_82 |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|