| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Login |
|
| waitForElementPresent |
link=Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Go to Sites Explorer |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| echo |
--Open driver pane |
|
| waitForElementPresent |
//div[@title='Show Drives'] |
|
| click |
//div[@title='Show Drives'] |
|
| echo |
--Open Private driver |
|
| waitForElementPresent |
link=Private |
|
| click |
link=Private |
|
| pause |
10000 |
|
| echo |
-Go to Admin View |
|
| waitForElementPresent |
//a[@title='Admin View'] |
|
| click |
//a[@title='Admin View'] |
|
| pause |
10000 |
|
| echo |
-- Go to Action tab |
|
| waitForElementPresent |
link=Actions |
|
| click |
link=Actions |
|
| pause |
10000 |
|
| echo |
--Add File Plan |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| pause |
5000 |
|
| waitForElementPresent |
selectTemplate |
label=File Plan |
| select |
selectTemplate |
label=File Plan |
| pause |
5000 |
|
| waitForElementPresent |
name |
|
| type |
name |
Test_SNF_ECMS_26 |
| waitForElementPresent |
//div[contains(text(), "Record properties")] |
|
| click |
//div[contains(text(), "Record properties")] |
|
| type |
recordCategoryIdentifier |
FilePlan26 |
| type |
dispositionAuthority |
FilePlan26 |
| type |
defaultOriginatingOrganization |
FilePlan26 |
| waitForElementPresent |
//div[text()='Process properties'] |
|
| click |
//div[text()='Process properties'] |
|
| type |
eventTrigger |
FilePlan26 |
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| pause |
10000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
10000 |
|
| echo |
--Edit File Plan |
|
| waitForElementPresent |
link=Test_SNF_ECMS_26 |
|
| mouseDownRight |
link=Test_SNF_ECMS_26 |
|
| waitForElementPresent |
link=Edit |
|
| click |
link=Edit |
|
| waitForElementPresent |
filePlanNote |
|
| type |
filePlanNote |
test |
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| pause |
10000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
10000 |
|
| echo |
--Delete File Plan |
|
| waitForElementPresent |
link=Test_SNF_ECMS_26 |
|
| mouseDownRight |
link=Test_SNF_ECMS_26 |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']//a[text()='OK'] |
|
| click |
//div[@id='UIPopupWindow']//a[text()='OK'] |
|
| pause |
5000 |
|
| waitForTextNotPresent |
Test_SNF_ECMS_26 |
|
| verifyTextNotPresent |
Test_SNF_ECMS_26 |
|
| echo |
--Logout |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|