TearDownTest
waitForElementPresent link=Méssagé Boards Tést Pagé
clickAndWait link=Méssagé Boards Tést Pagé
store eval(selenium.isElementPresent('//td[5]/ul/li/strong/span')) CategoryAPresent
gotoIf !${CategoryAPresent} No CategoryA Present
click //td[5]/ul/li/strong/span
waitForElementPresent //div[2]/ul/li[5]/nobr/a/img
clickAndWait //div[2]/ul/li[5]/nobr/a/img
assertConfirmation Are you sure you want to delete this?
assertTextPresent Your request processed successfully.
label No CategoryA Present
store eval(selenium.isElementPresent('//td[5]/ul/li/strong/span')) CategoryBPresent
gotoIf !${CategoryBPresent} No CategoryB Present
click //td[5]/ul/li/strong/span
waitForElementPresent //div[2]/ul/li[5]/nobr/a/img
clickAndWait //div[2]/ul/li[5]/nobr/a/img
assertConfirmation Are you sure you want to delete this?
assertTextPresent Your request processed successfully.
label No CategoryB Present
assertTextNotPresent Tést Catégory
assertTextNotPresent Tést Catégory Editéd
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
clickAndWait //div[2]/ul/li[1]/a/span
clickAndWait link=Manage Pages
clickAndWait //li[2]/ul/li[3]/a/span
click //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
waitForTextPresent Your request processed successfully.
clickAndWait link=Return to Full Page
assertElementNotPresent link=Méssagé Boards Tést Pagé