| open |
/user/joebloggs/home/ |
|
| waitForElementPresent |
link=Communities I Own |
|
| clickAtAndWait |
link=Communities I Own |
|
| type |
_29_name |
Expando Web Form Community |
| clickAtAndWait |
//input[@value='Search Communities'] |
|
| clickAtAndWait |
//tr[@class='portlet-section-body results-row']/td[1]/a |
|
| clickAtAndWait |
link=Web Form Page |
|
| clickAtAndWait |
//img[@alt='Configuration'] |
|
| clickAt |
link=Add another form field. |
|
| waitForVisible |
_86_fieldType4 |
|
| select |
_86_fieldType4 |
label=radiobuttons |
| waitForElementPresent |
_86_fieldOptions4 |
|
| type |
_86_fieldLabel4 |
Gender |
| type |
_86_fieldOptions4 |
Male,Female |
| clickAtAndWait |
//input[@value='Save'] |
|
| assertTextPresent |
You have successfully updated the setup. |
|
| waitForElementPresent |
link=Web Form Page |
|
| clickAtAndWait |
link=Web Form Page |
|
| assertTextPresent |
Gender |
|
| assertElementPresent |
//input[@value='Male'] |
|
| assertElementPresent |
//input[@value='Female'] |
|