TearDownTest
open /web/guest/home/
waitForElementPresent link=Enterprise Admin Test Page
clickAtAndWait link=Enterprise Admin Test Page
clickAtAndWait link=Users
store eval(selenium.isVisible('link=« Basic')) basic1Visible
gotoIf !${basic1Visible} Basic1NotVisible
clickAt link=« Basic
label Basic1NotVisible
type _79_keywords selenium
clickAtAndWait //input[@value='Search Users']
store eval(selenium.isElementPresent('_79_rowIds')) userPresent
gotoIf !${userPresent} UserNotPresent
click _79_allRowIds
clickAndWait //input[@value='Deactivate']
assertConfirmation Are you sure you want to deactivate the selected users?
clickAt link=Advanced »
select _79_active label=No
clickAtAndWait //input[@value='Search Users']
click _79_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to permanently delete the selected users?
clickAt link=« Basic
label UserNotPresent
open /web/guest/home/
waitForElementPresent link=Enterprise Admin Test Page
clickAtAndWait link=Enterprise Admin Test Page
clickAtAndWait link=Organizations
store eval(selenium.isVisible('link=« Basic')) basic2Visible
gotoIf !${basic2Visible} Basic2NotVisible
clickAt link=« Basic
label Basic2NotVisible
type _79_keywords Test
clickAtAndWait //input[@value='Search Organizations']
store eval(selenium.isElementPresent('//strong/span')) organization1Present
gotoIf !${organization1Present} Organization1NotPresent
clickAt //strong/span
waitForElementPresent //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAtAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAt _79_allRowIds
clickAtAndWait //input[@value='Update Associations']
assertTextPresent Your request processed successfully.
clickAtAndWait _79_tabs2TabsBack
clickAt _79_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
store eval(selenium.isElementPresent('//strong/span')) organization2Present
gotoIf !${organization2Present} Organization2NotPresent
clickAt //strong/span
waitForElementPresent //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAtAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAt _79_allRowIds
clickAtAndWait //input[@value='Update Associations']
assertTextPresent Your request processed successfully.
clickAtAndWait _79_tabs2TabsBack
clickAt _79_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
store eval(selenium.isElementPresent('//strong/span')) organization3Present
gotoIf !${organization3Present} Organization3NotPresent
clickAt //strong/span
waitForElementPresent //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAtAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAt _79_allRowIds
clickAtAndWait //input[@value='Update Associations']
assertTextPresent Your request processed successfully.
clickAtAndWait _79_tabs2TabsBack
clickAt _79_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
store eval(selenium.isElementPresent('//strong/span')) organization4Present
gotoIf !${organization4Present} Organization4NotPresent
clickAt //strong/span
waitForElementPresent //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAtAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAt _79_allRowIds
clickAtAndWait //input[@value='Update Associations']
assertTextPresent Your request processed successfully.
clickAtAndWait _79_tabs2TabsBack
clickAt _79_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
store eval(selenium.isElementPresent('//strong/span')) organization5Present
gotoIf !${organization5Present} Organization5NotPresent
clickAt //strong/span
waitForElementPresent //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAtAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a
clickAt _79_allRowIds
clickAtAndWait //input[@value='Update Associations']
assertTextPresent Your request processed successfully.
clickAtAndWait _79_tabs2TabsBack
clickAt _79_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
label Organization1NotPresent
label Organization2NotPresent
label Organization3NotPresent
label Organization4NotPresent
label Organization5NotPresent
open /web/guest/home/
waitForElementPresent link=Manage Pages
clickAtAndWait link=Manage Pages
store eval(selenium.isElementPresent('//div/ul/li[2]/ul/li[2]/a/span')) page1Present
gotoIf !${page1Present} Page1NotPresent
clickAtAndWait //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[2]/a/span
clickAtAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label Page1NotPresent
store eval(selenium.isElementPresent('//div/ul/li[2]/ul/li[2]/a/span')) page2Present
gotoIf !${page2Present} Page2NotPresent
clickAtAndWait //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[2]/a/span
clickAtAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label Page2NotPresent
store eval(selenium.isElementPresent('//div/ul/li[2]/ul/li[2]/a/span')) page3Present
gotoIf !${page3Present} Page3NotPresent
clickAtAndWait //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[2]/a/span
clickAtAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label Page3NotPresent
store eval(selenium.isElementPresent('//div/ul/li[2]/ul/li[2]/a/span')) page4Present
gotoIf !${page4Present} Page4NotPresent
clickAtAndWait //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[2]/a/span
clickAtAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label Page4NotPresent
store eval(selenium.isElementPresent('//div/ul/li[2]/ul/li[2]/a/span')) page5Present
gotoIf !${page5Present} Page5NotPresent
clickAtAndWait //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[2]/a/span
clickAtAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label Page5NotPresent