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 Liferay
store eval(selenium.isElementPresent('//li/ul/li[1]/div/div[3]/a')) welcomePresent
gotoIf ${welcomePresent} WelcomePresent
clickAt //li/div/div[1]
label WelcomePresent
waitForVisible //li/ul/li[1]/div/div[3]/a
clickAtAndWait //li[2]/div/div[3]/a
clickAtAndWait //td[2]/ul/li[1]/span/span/a Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?