| waitForElementPresent |
link=Control Panel |
|
| clickAndWait |
link=Control Panel |
|
| clickAndWait |
link=Polls |
|
| store |
eval(selenium.isElementPresent('//td[5]/ul/li/strong/span')) |
QuestionPresent |
| gotoIf |
!${QuestionPresent} |
No Question Present |
| click |
//td[5]/ul/li/strong/span |
|
| waitForElementPresent |
link=Delete |
|
| clickAndWait |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| label |
No Question Present |
|
| clickAndWait |
link=Back to My Community |
|
| clickAndWait |
link=Polls Display Test Page |
|
| click |
//img[@alt='Remove'] |
|
| assertConfirmation |
Are you sure you want to remove this component? |
|
| clickAndWait |
//div[2]/ul/li[1]/a |
|
| clickAndWait |
link=Manage Pages |
|
| clickAndWait |
//li[2]/ul/li[3]/a/span |
|
| clickAndWait |
link=Page |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| clickAndWait |
//div[2]/ul/li[1]/a |
|