TearDownTest
open /web/guest/home
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
click _15_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected web content?
open /web/guest/home
clickAtAndWait //li[5]/a/span
pause 5000
clickAtAndWait //div[3]/ul/li[1]/a
pause 5000
store eval(selenium.isElementPresent('//li/ul/li[2]/a/span')) PagePresent
gotoIf !${PagePresent} pageNotPresent
clickAtAndWait //div[@id='_88_layoutsTreeOutput']/ul/li/ul/li[2]/a/span
clickAtAndWait //li[@id='_88_tabs3pageTabsId']/span/a
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label pageNotPresent