| SA_DeletePageTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | //div/div[3]/div/ul/li[1]/a | |
| clickAtAndWait | //div/div[3]/div/ul/li[1]/a | |
| waitForText | //div/div[3]/a | Guest |
| store | eval(selenium.isElementPresent('//li/ul/li[1]/div/div[3]/a')) | pageVisible |
| gotoIf | ${pageVisible} | PageVisible |
| clickAt | //li/div/div[1] | |
| label | PageVisible | |
| clickAtAndWait | //li[2]/div/div[3]/a | |
| clickAtAndWait | //ul[2]/li[1]/span/span/a | |
| clickAndWait | //input[@value='Delete'] | |
| assertConfirmation | Are you sure you want to delete the selected page? | |