| waitForElementPresent |
link=Polls |
|
| clickAndWait |
link=Polls |
|
| store |
eval(selenium.isElementPresent('//td[5]/ul/li/strong/span')) |
Question1Present |
| gotoIf |
!${Question1Present} |
No Question 1 Present |
| click |
//td[5]/ul/li/strong/span |
|
| waitForElementPresent |
//body/div[2]/ul/li[3]/a |
|
| clickAndWait |
//body/div[2]/ul/li[3]/a |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| assertTextPresent |
Your request processed successfully. |
|
| label |
No Question 1 Present |
|
| store |
eval(selenium.isElementPresent('//td[5]/ul/li/strong/span')) |
Question2Present |
| gotoIf |
!${Question2Present} |
No Question 2 Present |
| click |
//td[5]/ul/li/strong/span |
|
| waitForElementPresent |
//body/div[2]/ul/li[3]/a |
|
| clickAndWait |
//body/div[2]/ul/li[3]/a |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| assertTextPresent |
Your request processed successfully. |
|
| label |
No Question 2 Present |
|
| store |
eval(selenium.isElementPresent('//td[5]/ul/li/strong/span')) |
Question3Present |
| gotoIf |
!${Question3Present} |
No Question 3 Present |
| click |
//td[5]/ul/li/strong/span |
|
| waitForElementPresent |
//body/div[2]/ul/li[3]/a |
|
| clickAndWait |
//body/div[2]/ul/li[3]/a |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| assertTextPresent |
Your request processed successfully. |
|
| label |
No Question 3 Present |
|
| assertElementNotPresent |
link=Test Poll Question |
|
| assertElementNotPresent |
link=Test Poll Question 2 |
|
| assertElementNotPresent |
link=Test Choice Question |
|
| clickAndWait |
link=Back to My Community |
|