TearDownTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Users
store eval(selenium.isVisible('link=« Basic')) basic1Visible
gotoIf !${basic1Visible} Basic1NotVisible
clickAt link=« Basic
label Basic1NotVisible
type _125_keywords TestFirst
clickAtAndWait //input[@value='Search']
store eval(selenium.isElementPresent('_125_rowIds')) UsersPresent1
gotoIf !${UsersPresent1} No Users Present1
clickAt _125_allRowIds
clickAndWait //input[@value='Deactivate']
assertConfirmation Are you sure you want to deactivate the selected users?
clickAt link=Advanced »
waitForElementPresent _125_active
select _125_active label=No
clickAtAndWait //input[@value='Search']
clickAt _125_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to permanently delete the selected users?
clickAt link=« Basic
waitForElementPresent link=Users
clickAtAndWait link=Users
type _125_keywords TestFirst
clickAtAndWait //input[@value='Search']
label No Users Present1
store eval(selenium.isElementPresent('_125_rowIds')) UsersPresent2
gotoIf !${UsersPresent2} No Users Present2
clickAt _125_allRowIds
clickAndWait //input[@value='Deactivate']
assertConfirmation Are you sure you want to deactivate the selected users?
clickAt link=Advanced »
waitForElementPresent _125_active
select _125_active label=No
clickAtAndWait //input[@value='Search']
clickAt _125_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to permanently delete the selected users?
clickAt link=« Basic
waitForElementPresent link=Users
clickAtAndWait link=Users
type _125_keywords TestFirst
clickAtAndWait //input[@value='Search']
label No Users Present2
store eval(selenium.isElementPresent('_125_rowIds')) UsersPresent3
gotoIf !${UsersPresent3} No Users Present3
clickAt _125_allRowIds
clickAndWait //input[@value='Deactivate']
assertConfirmation Are you sure you want to deactivate the selected users?
clickAt link=Advanced »
waitForElementPresent _125_active
select _125_active label=No
clickAtAndWait //input[@value='Search']
clickAt _125_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to permanently delete the selected users?
clickAt link=« Basic
waitForElementPresent link=Users
clickAtAndWait link=Users
type _125_keywords TestFirst
clickAtAndWait //input[@value='Search']
label No Users Present3
store eval(selenium.isElementPresent('_125_rowIds')) UsersPresent4
gotoIf !${UsersPresent4} No Users Present4
clickAt _125_allRowIds
clickAndWait //input[@value='Deactivate']
assertConfirmation Are you sure you want to deactivate the selected users?
clickAt link=Advanced »
waitForElementPresent _125_active
select _125_active label=No
clickAtAndWait //input[@value='Search']
clickAt _125_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to permanently delete the selected users?
clickAt link=« Basic
waitForElementPresent link=Users
clickAtAndWait link=Users
type _125_keywords TestFirst
clickAtAndWait //input[@value='Search']
label No Users Present4
store eval(selenium.isElementPresent('_125_rowIds')) UsersPresent5
gotoIf !${UsersPresent5} No Users Present5
clickAt _125_allRowIds
clickAndWait //input[@value='Deactivate']
assertConfirmation Are you sure you want to deactivate the selected users?
clickAt link=Advanced »
waitForElementPresent _125_active
select _125_active label=No
clickAtAndWait //input[@value='Search']
clickAt _125_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to permanently delete the selected users?
clickAt link=« Basic
waitForElementPresent link=Users
clickAtAndWait link=Users
type _125_keywords TestFirst
clickAtAndWait //input[@value='Search']
label No Users Present5
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
store eval(selenium.isVisible('link=« Basic')) basic2Visible
gotoIf !${basic2Visible} Basic2NotVisible
clickAt link=« Basic
label Basic2NotVisible
type _126_keywords Cerritos
clickAtAndWait //input[@value='Search']
store eval(selenium.isElementPresent('_126_rowIds')) SuborganizationPresent1
gotoIf !${SuborganizationPresent1} No Suborganization Present1
clickAt //strong/span
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
clickAtAndWait _126_tabs2TabsBack
clickAt _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Cerritos
clickAtAndWait //input[@value='Search']
label No Suborganization Present1
store eval(selenium.isElementPresent('_126_rowIds')) SuborganizationPresent2
gotoIf !${SuborganizationPresent2} No Suborganization Present2
clickAt //strong/span
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
clickAtAndWait _126_tabs2TabsBack
clickAt _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Cerritos
clickAtAndWait //input[@value='Search']
label No Suborganization Present2
store eval(selenium.isElementPresent('_126_rowIds')) SuborganizationPresent3
gotoIf !${SuborganizationPresent3} No Suborganization Present3
clickAt //strong/span
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
clickAtAndWait _126_tabs2TabsBack
clickAt _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Cerritos
clickAtAndWait //input[@value='Search']
label No Suborganization Present3
store eval(selenium.isElementPresent('_126_rowIds')) SuborganizationPresent4
gotoIf !${SuborganizationPresent4} No Suborganization Present4
clickAt //strong/span
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
clickAtAndWait _126_tabs2TabsBack
clickAt _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Cerritos
clickAtAndWait //input[@value='Search']
label No Suborganization Present4
store eval(selenium.isElementPresent('_126_rowIds')) SuborganizationPresent5
gotoIf !${SuborganizationPresent5} No Suborganization Present5
clickAt //strong/span
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
clickAtAndWait _126_tabs2TabsBack
clickAt _126_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Cerritos
clickAtAndWait //input[@value='Search']
label No Suborganization Present5
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
store eval(selenium.isElementPresent('//strong/span')) OrganizationPresent1
gotoIf !${OrganizationPresent1} No Organization Present1
clickAt //strong/span
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
clickAt _126_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
label No Organization Present1
store eval(selenium.isElementPresent('//strong/span')) OrganizationPresent2
gotoIf !${OrganizationPresent2} No Organization Present2
clickAt //strong/span
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
clickAt _126_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
label No Organization Present2
store eval(selenium.isElementPresent('//strong/span')) OrganizationPresent3
gotoIf !${OrganizationPresent3} No Organization Present3
clickAt //strong/span
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
clickAt _126_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
label No Organization Present3
store eval(selenium.isElementPresent('//strong/span')) OrganizationPresent4
gotoIf !${OrganizationPresent4} No Organization Present4
clickAt //strong/span
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
clickAt _126_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
label No Organization Present4
store eval(selenium.isElementPresent('//strong/span')) OrganizationPresent5
gotoIf !${OrganizationPresent5} No Organization Present5
clickAt //strong/span
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
clickAt _126_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
label No Organization Present5
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
store eval(selenium.isElementPresent('_127_rowIds')) UserGroupPresent1
gotoIf !${UserGroupPresent1} No User Group Present1
clickAt _127_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
label No User Group Present1
store eval(selenium.isElementPresent('_127_rowIds')) UserGroupPresent2
gotoIf !${UserGroupPresent2} No User Group Present2
clickAt _127_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
label No User Group Present2
store eval(selenium.isElementPresent('_127_rowIds')) UserGroupPresent3
gotoIf !${UserGroupPresent3} No User Group Present3
clickAt _127_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
label No User Group Present3
store eval(selenium.isElementPresent('_127_rowIds')) UserGroupPresent4
gotoIf !${UserGroupPresent4} No User Group Present4
clickAt _127_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
label No User Group Present4
store eval(selenium.isElementPresent('_127_rowIds')) UserGroupPresent5
gotoIf !${UserGroupPresent5} No User Group Present5
clickAt _127_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
label No User Group Present5
open /web/guest/home/
waitForElementPresent link=Manage Pages
clickAtAndWait link=Manage Pages
store eval(selenium.isElementPresent('//div/ul/li/ul/li[2]/a/span')) page1Present
gotoIf !${page1Present} Page1NotPresent
clickAtAndWait //div/ul/li/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/ul/li[2]/a/span')) page2Present
gotoIf !${page2Present} Page2NotPresent
clickAtAndWait //div/ul/li/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/ul/li[2]/a/span')) page3Present
gotoIf !${page3Present} Page3NotPresent
clickAtAndWait //div/ul/li/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/ul/li[2]/a/span')) page4Present
gotoIf !${page4Present} Page4NotPresent
clickAtAndWait //div/ul/li/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/ul/li[2]/a/span')) page5Present
gotoIf !${page5Present} Page5NotPresent
clickAtAndWait //div/ul/li/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