| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Polls Test Page |
|
| clickAtAndWait |
link=Polls Test Page |
|
| clickAtAndWait |
//input[@value='Add Question'] |
|
| type |
_25_title |
Null Choice Poll Test Title |
| type |
_25_description |
Null Choice Poll Test Description |
| type |
choiceDescriptiona |
Null Choice Poll Test Choice A |
| type |
choiceDescriptionb |
Null Choice Poll Test Choice B |
| clickAtAndWait |
//input[@value='Add Choice'] |
|
| type |
choiceDescriptionc |
|
| clickAtAndWait |
//input[@value='Save'] |
|
| assertTextPresent |
You have entered invalid data. Please try again |
|
| assertTextPresent |
Please enter valid choices. |
|