| open |
/ecmdemo/public/acme/ |
|
| echo |
-- Log in |
|
| windowMaximize |
|
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Create new template: Form Builder |
|
| waitForElementPresent |
//a[@href='/ecmdemo/groups/:platform:web-contributors/formgenerator'] |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/formgenerator'] |
|
| waitForElementPresent |
FormGeneratorName |
|
| type |
FormGeneratorName |
Test_SNF_ECMS_16 |
| waitForElementPresent |
//div[text()='Form builder'] |
|
| click |
//div[text()='Form builder'] |
|
| waitForElementPresent |
//div[text()='Input Text'] |
|
| click |
//div[text()='Input Text'] |
|
| waitForElementPresent |
//div[text()='Text Area'] |
|
| click |
//div[text()='Text Area'] |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| waitForTextPresent |
Nodetype Test_SNF_ECMS_16's template is generated successful |
|
| verifyTextPresent |
Nodetype Test_SNF_ECMS_16's template is generated successful |
|
| waitForElementPresent |
//div[@id='UIFormGeneratorPortlet']//a[contains(text(),"OK")] |
|
| click |
//div[@id='UIFormGeneratorPortlet']//a[contains(text(),"OK")] |
|
| echo |
-- Cteate new document using new template |
|
| 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=Sites Management |
|
| click |
link=Sites Management |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| waitForElementPresent |
link=Test_SNF_ECMS_16 |
|
| click |
link=Test_SNF_ECMS_16 |
|
| waitForElementPresent |
/node/Textarea field |
|
| type |
/node/Textarea field |
SNF_ECMS_16_FormGenerator_ecmdemo |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
1000 |
|
| echo |
-- Delete doc -- |
|
| waitForElementPresent |
//div[@id='iconTreeExplorer']/div[2]/a |
|
| mouseDownRight |
//div[@id='iconTreeExplorer']/div[2]/a |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']//a[text()='OK'] |
|
| click |
//div[@id='UIPopupWindow']//a[text()='OK'] |
|
| echo |
-- Log out |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|