| AddStructureExpandoTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Control Panel | |
| clickAtAndWait | link=Control Panel | |
| clickAtAndWait | link=Communities | |
| type | _134_name | Expando Web Content Community |
| clickAtAndWait | //input[@value='Search'] | |
| clickAtAndWait | //td[2]/a | Open |
| clickAtAndWait | link=Control Panel | |
| clickAtAndWait | link=Web Content | |
| clickAtAndWait | link=Structures | |
| clickAtAndWait | //input[@value='Add Structure'] | |
| type | _15_newStructureId | test_expando |
| type | _15_name | Expando Structure Test |
| type | _15_description | This is an expando structure test. |
| clickAt | _15_editorButton | |
| pause | 5000 | |
| waitForVisible | _15_xsdContent | |
| type | _15_xsdContent | |
| pause | 5000 | |
| click | //input[@value='Update'] | |
| waitForElementPresent | _15_structure_el0_name | |
| assertElementPresent | _15_structure_el0_name | |
| clickAtAndWait | //input[@value='Save'] | |
| assertTextPresent | Your request processed successfully. | |
| assertText | //td[2]/a | TEST_EXPANDO |
| assertText | //td[3]/a | Expando Structure Test This is an expando structure test. |