TearDownWikiNodeTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Wiki
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) wikiNode1Present
gotoIf !${wikiNode1Present} WikiNode1NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a
assertConfirmation Are you sure you want to delete this?
label WikiNode1NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) wikiNode2Present
gotoIf !${wikiNode2Present} WikiNode2NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a
assertConfirmation Are you sure you want to delete this?
label WikiNode2NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) wikiNode3Present
gotoIf !${wikiNode3Present} WikiNode3NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a
assertConfirmation Are you sure you want to delete this?
label WikiNode3NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) wikiNode4Present
gotoIf !${wikiNode4Present} WikiNode4NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a
assertConfirmation Are you sure you want to delete this?
label WikiNode4NotPresent
store eval(selenium.isElementPresent('//td[4]/ul/li/strong/a')) wikiNode5Present
gotoIf !${wikiNode5Present} WikiNode5NotPresent
clickAt //td[4]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a
assertConfirmation Are you sure you want to delete this?
label WikiNode5NotPresent