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 //div[@id='toggle_id_enterprise_admin_user_searchadvanced']/span[2]/span/input
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 //div[@id='toggle_id_enterprise_admin_user_searchadvanced']/span[2]/span/input
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 //div[@id='toggle_id_enterprise_admin_user_searchadvanced']/span[2]/span/input
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 //div[@id='toggle_id_enterprise_admin_user_searchadvanced']/span[2]/span/input
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 //div[@id='toggle_id_enterprise_admin_user_searchadvanced']/span[2]/span/input
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=Advanced »')) advancedVisible
gotoIf !${advancedVisible} AdvancedNotVisible
clickAt link=Advanced »
label AdvancedNotVisible
waitForVisible _126_name
type _126_name Test Child
clickAtAndWait //div[@id='toggle_id_enterprise_admin_organization_searchadvanced']/span[2]/span/input
store eval(selenium.isElementPresent('//strong/a')) SuborganizationPresent1
gotoIf !${SuborganizationPresent1} No Suborganization Present1
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_126_allRowIds')) suborganizationUsers1Present
gotoIf !${suborganizationUsers1Present} SuborganizationUsers1NotPresent
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
label SuborganizationUsers1NotPresent
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_name Test Child
clickAtAndWait //div[@id='toggle_id_enterprise_admin_organization_searchadvanced']/span[2]/span/input
clickAt _126_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_name Test Child
clickAtAndWait //div[@id='toggle_id_enterprise_admin_organization_searchadvanced']/span[2]/span/input
label No Suborganization Present1
store eval(selenium.isElementPresent('//strong/a')) SuborganizationPresent2
gotoIf !${SuborganizationPresent2} No Suborganization Present2
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_126_allRowIds')) suborganizationUsers2Present
gotoIf !${suborganizationUsers2Present} SuborganizationUsers2NotPresent
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
label SuborganizationUsers2NotPresent
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_name Test Child
clickAtAndWait //div[@id='toggle_id_enterprise_admin_organization_searchadvanced']/span[2]/span/input
clickAt _126_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_name Test Child
clickAtAndWait //div[@id='toggle_id_enterprise_admin_organization_searchadvanced']/span[2]/span/input
label No Suborganization Present2
store eval(selenium.isElementPresent('//strong/a')) SuborganizationPresent3
gotoIf !${SuborganizationPresent3} No Suborganization Present3
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_126_allRowIds')) suborganizationUsers3Present
gotoIf !${suborganizationUsers3Present} SuborganizationUsers3NotPresent
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
label SuborganizationUsers3NotPresent
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_name Test Child
clickAtAndWait //div[@id='toggle_id_enterprise_admin_organization_searchadvanced']/span[2]/span/input
clickAt _126_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_name Test Child
clickAtAndWait //div[@id='toggle_id_enterprise_admin_organization_searchadvanced']/span[2]/span/input
label No Suborganization Present3
store eval(selenium.isElementPresent('//strong/a')) SuborganizationPresent4
gotoIf !${SuborganizationPresent4} No Suborganization Present4
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_126_allRowIds')) suborganizationUsers4Present
gotoIf !${suborganizationUsers4Present} SuborganizationUsers4NotPresent
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
label SuborganizationUsers4NotPresent
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_name Test Child
clickAtAndWait //div[@id='toggle_id_enterprise_admin_organization_searchadvanced']/span[2]/span/input
clickAt _126_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_name Test Child
clickAtAndWait //div[@id='toggle_id_enterprise_admin_organization_searchadvanced']/span[2]/span/input
label No Suborganization Present4
store eval(selenium.isElementPresent('//strong/a')) SuborganizationPresent5
gotoIf !${SuborganizationPresent5} No Suborganization Present5
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_126_allRowIds')) suborganizationUsers5Present
gotoIf !${suborganizationUsers5Present} SuborganizationUsers5NotPresent
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
label SuborganizationUsers5NotPresent
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_name Test Child
clickAtAndWait //div[@id='toggle_id_enterprise_admin_organization_searchadvanced']/span[2]/span/input
clickAt _126_rowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete this?
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
type _126_name Test Child
clickAtAndWait //div[@id='toggle_id_enterprise_admin_organization_searchadvanced']/span[2]/span/input
label No Suborganization Present5
waitForElementPresent link=Organizations
clickAtAndWait link=Organizations
clickAt link=« Basic
waitForVisible _126_keywords
type _126_keywords Diamond Bar
clickAtAndWait //input[@value='Search']
store eval(selenium.isElementPresent('//strong/a')) OrganizationPresent1
gotoIf !${OrganizationPresent1} No Organization Present1
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_126_allRowIds')) organizationUsers1Present
gotoIf !${organizationUsers1Present} OrganizationUsers1NotPresent
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
label OrganizationUsers1NotPresent
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/a')) OrganizationPresent2
gotoIf !${OrganizationPresent2} No Organization Present2
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_126_allRowIds')) organizationUsers2Present
gotoIf !${organizationUsers2Present} OrganizationUsers2NotPresent
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
label OrganizationUsers2NotPresent
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/a')) OrganizationPresent3
gotoIf !${OrganizationPresent3} No Organization Present3
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_126_allRowIds')) organizationUsers3Present
gotoIf !${organizationUsers3Present} OrganizationUsers3NotPresent
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
label OrganizationUsers3NotPresent
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/a')) OrganizationPresent4
gotoIf !${OrganizationPresent4} No Organization Present4
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_126_allRowIds')) organizationUsers4Present
gotoIf !${organizationUsers4Present} OrganizationUsers4NotPresent
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
label OrganizationUsers4NotPresent
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/a')) OrganizationPresent5
gotoIf !${OrganizationPresent5} No Organization Present5
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_126_allRowIds')) organizationUsers5Present
gotoIf !${organizationUsers5Present} OrganizationUsers5NotPresent
clickAt _126_allRowIds
clickAtAndWait //input[@value='Update Associations']
label OrganizationUsers5NotPresent
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('//strong/a')) UserGroupPresent1
gotoIf !${UserGroupPresent1} No User Group Present1
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_127_allRowIds')) userGroupUsers1Present
gotoIf !${userGroupUsers1Present} UserGroupUsers1NotPresent
clickAt _127_allRowIds
clickAtAndWait //input[@value='Update Associations']
label UserGroupUsers1NotPresent
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
clickAt //strong/a
waitForElementPresent //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?
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
label No User Group Present1
store eval(selenium.isElementPresent('//strong/a')) UserGroupPresent2
gotoIf !${UserGroupPresent2} No User Group Present2
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_127_allRowIds')) userGroupUsers2Present
gotoIf !${userGroupUsers2Present} UserGroupUsers2NotPresent
clickAt _127_allRowIds
clickAtAndWait //input[@value='Update Associations']
label UserGroupUsers2NotPresent
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
clickAt //strong/a
waitForElementPresent //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?
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
label No User Group Present2
store eval(selenium.isElementPresent('//strong/a')) UserGroupPresent3
gotoIf !${UserGroupPresent3} No User Group Present3
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_127_allRowIds')) userGroupUsers3Present
gotoIf !${userGroupUsers3Present} UserGroupUsers3NotPresent
clickAt _127_allRowIds
clickAtAndWait //input[@value='Update Associations']
label UserGroupUsers3NotPresent
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
clickAt //strong/a
waitForElementPresent //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?
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
label No User Group Present3
store eval(selenium.isElementPresent('//strong/a')) UserGroupPresent4
gotoIf !${UserGroupPresent4} No User Group Present4
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_127_allRowIds')) userGroupUsers4Present
gotoIf !${userGroupUsers4Present} UserGroupUsers4NotPresent
clickAt _127_allRowIds
clickAtAndWait //input[@value='Update Associations']
label UserGroupUsers4NotPresent
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
clickAt //strong/a
waitForElementPresent //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?
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
label No User Group Present4
store eval(selenium.isElementPresent('//strong/a')) UserGroupPresent5
gotoIf !${UserGroupPresent5} No User Group Present5
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
store eval(selenium.isElementPresent('_127_allRowIds')) userGroupUsers5Present
gotoIf !${userGroupUsers5Present} UserGroupUsers5NotPresent
clickAt _127_allRowIds
clickAtAndWait //input[@value='Update Associations']
label UserGroupUsers5NotPresent
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
clickAt //strong/a
waitForElementPresent //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?
waitForElementPresent link=User Groups
clickAtAndWait link=User Groups
label No User Group Present5
open /web/guest/home/
waitForElementPresent //li[@class='first manage-page']/a
clickAndWait //li[@class='first manage-page']/a
waitForVisible link=Guest
waitForVisible //a[@class='lfr-tree-controls-label']
clickAt //a[@class='lfr-tree-controls-label']
waitForVisible //ul[@class='aui-tree-container']
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 //ul[@class='aui-tree-container']
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 //ul[@class='aui-tree-container']
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 //ul[@class='aui-tree-container']
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 //ul[@class='aui-tree-container']
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