| 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? |
|
| 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? |
|
| label |
No Question 2 Present |
|