TearDownTest
open /web/guest/home/
waitForElementPresent link=Announcements Test Page
clickAtAndWait link=Announcements Test Page
clickAtAndWait link=Entries
store eval(selenium.isElementPresent('//td[2]/span/a[2]')) Entry1
gotoIf !${Entry1} NoEntry1
waitForElementPresent //td[2]/span/a[2]
clickAndWait //td[2]/span/a[2]
assertConfirmation Are you sure you want to delete this?
label NoEntry1
store eval(selenium.isElementPresent('//td[2]/span/a[2]')) Entry2
gotoIf !${Entry2} NoEntry2
waitForElementPresent //td[2]/span/a[2]
clickAndWait //td[2]/span/a[2]
assertConfirmation Are you sure you want to delete this?
label NoEntry2
store eval(selenium.isElementPresent('//td[2]/span/a[2]')) Entry3
gotoIf !${Entry3} NoEntry3
waitForElementPresent //td[2]/span/a[2]
clickAndWait //td[2]/span/a[2]
assertConfirmation Are you sure you want to delete this?
label NoEntry3
store eval(selenium.isElementPresent('//td[2]/span/a[2]')) Entry4
gotoIf !${Entry4} NoEntry4
waitForElementPresent //td[2]/span/a[2]
clickAndWait //td[2]/span/a[2]
assertConfirmation Are you sure you want to delete this?
label NoEntry4
store eval(selenium.isElementPresent('//td[2]/span/a[2]')) Entry5
gotoIf !${Entry5} NoEntry5
waitForElementPresent //td[2]/span/a[2]
clickAndWait //td[2]/span/a[2]
assertConfirmation Are you sure you want to delete this?
label NoEntry5
open /web/guest/home/
pause 5000
waitForElementPresent //div[3]/div/ul/li[1]/a
clickAtAndWait //div[3]/div/ul/li[1]/a
waitForVisible link=Guest
clickAt //div[@id='_88_treeExpandAll']/a
waitForVisible //li/ul/li[1]/div/div[3]/a
store eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) page1Present
gotoIf !${page1Present} Page1NotPresent
clickAtAndWait //li[2]/div/div[3]/a
clickAtAndWait //li[@id='_88_tabs3pageTabsId']/span/a
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label Page1NotPresent
waitForVisible //li/ul/li[1]/div/div[3]/a
store eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) page2Present
gotoIf !${page2Present} Page2NotPresent
clickAtAndWait //li[2]/div/div[3]/a
clickAtAndWait //li[@id='_88_tabs3pageTabsId']/span/a
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label Page2NotPresent
waitForVisible //li/ul/li[1]/div/div[3]/a
store eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) page3Present
gotoIf !${page3Present} Page3NotPresent
clickAtAndWait //li[2]/div/div[3]/a
clickAtAndWait //li[@id='_88_tabs3pageTabsId']/span/a
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label Page3NotPresent
waitForVisible //li/ul/li[1]/div/div[3]/a
store eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) page4Present
gotoIf !${page4Present} Page4NotPresent
clickAtAndWait //li[2]/div/div[3]/a
clickAtAndWait //li[@id='_88_tabs3pageTabsId']/span/a
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label Page4NotPresent
waitForVisible //li/ul/li[1]/div/div[3]/a
store eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) page5Present
gotoIf !${page5Present} Page5NotPresent
clickAtAndWait //li[2]/div/div[3]/a
clickAtAndWait //li[@id='_88_tabs3pageTabsId']/span/a
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label Page5NotPresent