<
New Test
setTimeout 45000
open index.php/users/default?clearingSearch=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
open index.php/users/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent id=more-search-link
click id=more-search-link
click id=addExtraAdvancedSearchRowButton-search-form
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent id=UsersSearchForm_dynamicClauses_0_attributeIndexOrDerivedType
select id=UsersSearchForm_dynamicClauses_0_attributeIndexOrDerivedType label=Department
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent id=UsersSearchForm_dynamicClauses_0_department
type id=UsersSearchForm_dynamicClauses_0_department marketing
click css=#search-advanced-search > span.z-label
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent 1 Criteria Selected
waitForTextPresent No results found.
click id=clear-search-link
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent result(s)
waitForElementPresent id=more-search-link
click id=more-search-link
click id=addExtraAdvancedSearchRowButton-search-form
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent id=UsersSearchForm_dynamicClauses_0_attributeIndexOrDerivedType
select id=UsersSearchForm_dynamicClauses_0_attributeIndexOrDerivedType label=Name
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent id=UsersSearchForm_dynamicClauses_0_fullName
type id=UsersSearchForm_dynamicClauses_0_fullName Janny${randomSuffix} Jingo${randomSuffix}
click id=addExtraAdvancedSearchRowButton-search-form
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
select id=UsersSearchForm_dynamicClauses_1_attributeIndexOrDerivedType label=Office Phone
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent id=UsersSearchForm_dynamicClauses_1_officePhone
type id=UsersSearchForm_dynamicClauses_1_officePhone 123456789
click id=addExtraAdvancedSearchRowButton-search-form
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
select id=UsersSearchForm_dynamicClauses_2_attributeIndexOrDerivedType label=Any Email Address
waitForElementPresent id=UsersSearchForm_dynamicClauses_2_anyEmail
type id=UsersSearchForm_dynamicClauses_2_anyEmail janny1${randomSuffix}@jingo.com
click css=#search-advanced-search > span.z-label
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Janny${randomSuffix} Jingo${randomSuffix}
assertTextPresent 3 Criteria Selected
open index.php/users/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=more-search-link
click id=save-as-advanced-search
click id=save-advanced-search
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Name cannot be blank.
click id=show-dynamic-search-structure-div-link-search-form
type id=UsersSearchForm_dynamicStructure 1 or or 2 AND 3 AND 4
click id=search-advanced-search
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent The structure is invalid.