| waitForElementPresent |
link=Polls Test Page |
|
| clickAtAndWait |
link=Polls Test Page |
|
| store |
eval(selenium.isElementPresent('//td[5]/ul/li/strong/span')) |
Question1Present |
| gotoIf |
!${Question1Present} |
No Question 1 Present |
| clickAt |
//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 |
| clickAt |
//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 |
|
| click |
//img[@alt='Remove'] |
|
| assertConfirmation |
Are you sure you want to remove this component? |
|
| clickAtAndWait |
//div[2]/ul/li[1]/a |
|
| clickAtAndWait |
link=Manage Pages |
|
| clickAtAndWait |
//li/ul/li[3]/a/span |
|
| clickAtAndWait |
link=Page |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| clickAtAndWait |
//div[2]/ul/li[1]/a |
|