advanced_search_limit_by_field
open /advanced_search.cgi
select product label=Firefox (1)
select branch label=1.5 Branch (2)
select testgroup label=1.5 Smoketests (1)
waitForElementNotPresent //SELECT[@id='subgroup'][@disabled]
select subgroup label=Install and Startup (1)
waitForElementNotPresent //SELECT[@id='testcase'][@disabled]
select testcase label=Verify Firefox launches as expected (1)
select platform label=Windows (1)
select opsys label=Windows XP (4)
select locale label=en-US
select result_status label=Pass
clickAndWait //input[@type='submit']
verifyText //h1[2] Advanced Search Results
verifyText //div[3]/div/p[1] Custom
Product is 'Firefox'
Branch is '1.5 Branch'
Testgroup is '1.5 Smoketests'
Subgroup is 'Install and Startup'
Testcase ID# is '1'
Platform is 'Windows'
Operating System is 'Windows XP'
Locale is 'en-US'
Status is 'pass'
Display valid results only
verifyElementPresent //div[3]/div[2]/div[2]/table
verifyElementPresent //div[3]/div[2]/div[2]/table/tbody/tr[2]
verifySelectedValue //SELECT[@id='product'] 1
verifySelectedValue //SELECT[@id='branch'] 2
verifySelectedValue //SELECT[@id='testgroup'] 1
waitForElementNotPresent //SELECT[@id='subgroup'][@disabled]
verifySelectedValue //SELECT[@id='subgroup'] 1
waitForElementNotPresent //SELECT[@id='testcase'][@disabled]
verifySelectedValue //SELECT[@id='testcase'] 1
verifySelectedValue //SELECT[@id='platform'] 1
waitForElementNotPresent //SELECT[@id='opsys'][@disabled]
verifySelectedValue //SELECT[@id='opsys'] 4
verifySelectedValue //SELECT[@id='locale'] en-US
verifySelectedValue //SELECT[@id='result_status'] pass