| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| waitForElementPresent |
//a[@href='/ecmdemo/private/acme/wcmAdmin'] |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/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 |
Workflow |
| 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']//a[contains(@href,"Documents")] |
|
| click |
//div[@id='UISelectPathPanel']//a[contains(@href,"Documents")] |
|
| waitForElementPresent |
//img[@title='Add Permission'] |
|
| click |
//img[@title='Add Permission'] |
|
| waitForElementPresent |
//img[@title='Set any permission'] |
|
| click |
//img[@title='Set any permission'] |
|
| verifyValue |
homePath |
/Documents |
| echo |
-- Choose Show sidebae -- |
|
| 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=3 |
|
| click |
link=3 |
|
| waitForTextPresent |
Workflow |
|
| verifyTextPresent |
Workflow |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
--Login Mary |
|
| waitForElementPresent |
link=Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
mary |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| waitForElementPresent |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| waitForElementPresent |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| click |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| waitForElementPresent |
link=Workflow |
|
| click |
link=Workflow |
|
| waitForElementPresent |
link=Validation Requests |
|
| click |
link=Validation Requests |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| pause |
5000 |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_ECMS_81 |
| waitForElementPresent |
//td[@id='cke_contents_summary']/iframe |
|
| selectFrame |
//td[@id='cke_contents_summary']/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_81 |
| selectFrame |
relative=top |
|
| selectFrame |
//td[@id='cke_contents_content']/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_81 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| pause |
5000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
5000 |
|
| waitForTextPresent |
Test_SNF_ECMS_81 |
|
| verifyTextPresent |
Test_SNF_ECMS_81 |
|
| waitForTextPresent |
Test_SNF_ECMS_81 |
|
| verifyTextPresent |
Test_SNF_ECMS_81 |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
--Login Root |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| clickAndWait |
link=Business Process Controller |
|
| waitForElementPresent |
link=Manage |
|
| click |
link=Manage |
|
| waitForElementPresent |
//img[@title='Select User'] |
|
| click |
//img[@title='Select User'] |
|
| waitForElementPresent |
//img[contains(@onclick,"james")] |
|
| click |
//img[contains(@onclick,"james")] |
|
| waitForElementPresent |
link=Delegate |
|
| click |
link=Delegate |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
--Login james |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
james |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| waitForElementPresent |
link=Business Process Controller |
|
| clickAndWait |
link=Business Process Controller |
|
| waitForElementPresent |
link=Manage |
|
| click |
link=Manage |
|
| waitForElementPresent |
//input[@name='endDate'] |
|
| click |
//input[@name='endDate'] |
|
| waitForElementPresent |
//a[@title="Next Month"] |
|
| click |
//a[@title="Next Month"] |
|
| waitForElementPresent |
link=29 |
|
| click |
link=29 |
|
| waitForElementPresent |
link=Approve |
|
| click |
link=Approve |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
-- Login by root-- |
|
| waitForElementPresent |
link=Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| waitForElementPresent |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| waitForElementPresent |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| click |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| waitForElementPresent |
link=Workflow |
|
| click |
link=Workflow |
|
| waitForElementPresent |
link=Live |
|
| click |
link=Live |
|
| echo |
-- Year -- |
|
| waitForElementPresent |
//div[2]/div/div[1]/div/div[2]/a |
|
| click |
//div[2]/div/div[1]/div/div[2]/a |
|
| echo |
-- Months -- |
|
| waitForElementPresent |
//div[2]/div/div/div/div[1]/div[2]/div/div[2]/div/div |
|
| click |
//div[2]/div/div/div/div[1]/div[2]/div/div[2]/div/div |
|
| echo |
-- Day -- |
|
| waitForElementPresent |
//div[2]/div/div[2]/div/div[2]/div/div |
|
| click |
//div[2]/div/div[2]/div/div[2]/div/div |
|
| waitForElementPresent |
link=Test_SNF_ECMS_81 |
|
| click |
link=Test_SNF_ECMS_81 |
|
| pause |
3000 |
|
| waitForTextPresent |
Test_SNF_ECMS_81 |
|
| verifyTextPresent |
Test_SNF_ECMS_81 |
|
| waitForTextPresent |
Test_SNF_ECMS_81 |
|
| verifyTextPresent |
Test_SNF_ECMS_81 |
|
| waitForTextPresent |
Test_SNF_ECMS_81 |
|
| verifyTextPresent |
Test_SNF_ECMS_81 |
|
| waitForElementPresent |
//a[@href='/ecmdemo/private/acme/wcmAdmin'] |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/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=3 |
|
| click |
link=3 |
|
| waitForElementPresent |
//img[contains(@onclick,"Workflow") and @title="Delete"] |
|
| click |
//img[contains(@onclick,"Workflow") and @title="Delete"] |
|
| assertConfirmation |
Do you really want to delete ? |
|
| waitForElementNotPresent |
Workflow |
|
| verifyElementNotPresent |
Workflow |
|
| waitForElementPresent |
link=Sign out |
|
| click |
link=Sign out |
|
| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| waitForElementPresent |
//a[@href='/ecmdemo/private/acme/wcmAdmin'] |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/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 |
Workflow |
| 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']//a[contains(@href,"Documents")] |
|
| click |
//div[@id='UISelectPathPanel']//a[contains(@href,"Documents")] |
|
| waitForElementPresent |
//img[@title='Add Permission'] |
|
| click |
//img[@title='Add Permission'] |
|
| waitForElementPresent |
//img[@title='Set any permission'] |
|
| click |
//img[@title='Set any permission'] |
|
| verifyValue |
homePath |
/Documents |
| echo |
-- Choose Show sidebae -- |
|
| 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=3 |
|
| click |
link=3 |
|
| waitForTextPresent |
Workflow |
|
| verifyTextPresent |
Workflow |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
--Login Mary |
|
| waitForElementPresent |
link=Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
mary |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| waitForElementPresent |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| waitForElementPresent |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| click |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| waitForElementPresent |
link=Workflow |
|
| click |
link=Workflow |
|
| waitForElementPresent |
link=Validation Requests |
|
| click |
link=Validation Requests |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| pause |
5000 |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_ECMS_81 |
| waitForElementPresent |
//td[@id='cke_contents_summary']/iframe |
|
| selectFrame |
//td[@id='cke_contents_summary']/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_81 |
| selectFrame |
relative=top |
|
| selectFrame |
//td[@id='cke_contents_content']/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_81 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| pause |
5000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
5000 |
|
| waitForTextPresent |
Test_SNF_ECMS_81 |
|
| verifyTextPresent |
Test_SNF_ECMS_81 |
|
| waitForTextPresent |
Test_SNF_ECMS_81 |
|
| verifyTextPresent |
Test_SNF_ECMS_81 |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
--Login Root |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| clickAndWait |
link=Business Process Controller |
|
| waitForElementPresent |
link=Manage |
|
| click |
link=Manage |
|
| waitForElementPresent |
//img[@title='Select User'] |
|
| click |
//img[@title='Select User'] |
|
| waitForElementPresent |
//img[contains(@onclick,"james")] |
|
| click |
//img[contains(@onclick,"james")] |
|
| waitForElementPresent |
link=Delegate |
|
| click |
link=Delegate |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
--Login james |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
james |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| waitForElementPresent |
link=Business Process Controller |
|
| clickAndWait |
link=Business Process Controller |
|
| waitForElementPresent |
link=Manage |
|
| click |
link=Manage |
|
| waitForElementPresent |
//input[@name='endDate'] |
|
| click |
//input[@name='endDate'] |
|
| waitForElementPresent |
//a[@title="Next Month"] |
|
| click |
//a[@title="Next Month"] |
|
| waitForElementPresent |
link=29 |
|
| click |
link=29 |
|
| waitForElementPresent |
link=Approve |
|
| click |
link=Approve |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
-- Login by root-- |
|
| waitForElementPresent |
link=Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| waitForElementPresent |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| waitForElementPresent |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| click |
//div[@id='UISideBar']//div[@title='Show Drives'] |
|
| waitForElementPresent |
link=Workflow |
|
| click |
link=Workflow |
|
| waitForElementPresent |
link=Live |
|
| click |
link=Live |
|
| echo |
-- Year -- |
|
| waitForElementPresent |
//div[2]/div/div[1]/div/div[2]/a |
|
| click |
//div[2]/div/div[1]/div/div[2]/a |
|
| echo |
-- Months -- |
|
| waitForElementPresent |
//div[2]/div/div/div/div[1]/div[2]/div/div[2]/div/div |
|
| click |
//div[2]/div/div/div/div[1]/div[2]/div/div[2]/div/div |
|
| echo |
-- Day -- |
|
| waitForElementPresent |
//div[2]/div/div[2]/div/div[2]/div/div |
|
| click |
//div[2]/div/div[2]/div/div[2]/div/div |
|
| waitForElementPresent |
link=Test_SNF_ECMS_81 |
|
| click |
link=Test_SNF_ECMS_81 |
|
| pause |
3000 |
|
| waitForTextPresent |
Test_SNF_ECMS_81 |
|
| verifyTextPresent |
Test_SNF_ECMS_81 |
|
| waitForTextPresent |
Test_SNF_ECMS_81 |
|
| verifyTextPresent |
Test_SNF_ECMS_81 |
|
| waitForTextPresent |
Test_SNF_ECMS_81 |
|
| verifyTextPresent |
Test_SNF_ECMS_81 |
|
| waitForElementPresent |
//a[@href='/ecmdemo/private/acme/wcmAdmin'] |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/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=3 |
|
| click |
link=3 |
|
| waitForElementPresent |
//img[contains(@onclick,"Workflow") and @title="Delete"] |
|
| click |
//img[contains(@onclick,"Workflow") and @title="Delete"] |
|
| assertConfirmation |
Do you really want to delete ? |
|
| waitForElementNotPresent |
Workflow |
|
| verifyElementNotPresent |
Workflow |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|