hFormWithSelectsTest
open /myfaces-example-simple/testSuite/home.jsf
open /myfaces-example-simple/testSuite/hFormWithSelects.jsf
verifyAttribute //input[@id="selectBooleanCheckboxForm:hSelectBooleanCheckboxFalse"]@type checkbox
verifyValue //input[@id="selectBooleanCheckboxForm:hSelectBooleanCheckboxFalse"] off
verifyValue //input[@id="selectBooleanCheckboxForm:hSelectBooleanCheckboxTrue"] on
verifyElementPresent document.forms[1].elements['selectManyCheckboxForm:hSelectManyCheckbox'][0]
verifyTable selectManyCheckboxForm:hSelectManyCheckbox.0.0 Check Box 1
verifyAttribute //input[@name="selectManyCheckboxForm:hSelectManyCheckbox" and @value="CB2"]@disabled glob:*
verifyElementPresent //table[@id="selectManyCheckboxPageDirectionForm:hSelectManyCheckbox"]//tr[5]
verifyElementNotPresent //table[@id="selectManyCheckboxPageDirectionForm:hSelectManyCheckbox"]//tr[6]
verifyAttribute //table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]@border 3
verifyElementPresent //table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]//tr/td[5]
verifyElementNotPresent //table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]//tr/td[6]
verifyElementNotPresent //table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]//tr[2]
verifyAttribute //select[@name="selectManyListBoxForm:hSelectManyListbox"]@size 2
verifyAttribute //select[@name="selectManyListBoxForm:hSelectManyListbox"]@accesskey A
verifyAttribute //select[@name="selectManyListBoxForm:hSelectManyListbox"]@onselect onSelect
verifyAttribute //select[@name="selectManyListBoxForm:hSelectManyListbox"]/option[1]@value LB1
verifyAttribute //select[@name="selectManyListBoxForm:hSelectManyListbox"]//option[@value="LB2"]@disabled glob:*
verifyAttribute //select[@name="selectManyMenuForm:hSelectManyMenu"]@size 1
verifyAttribute //select[@name="selectManyMenuForm:hSelectManyMenu"]@accesskey A
verifyAttribute //select[@name="selectManyMenuForm:hSelectManyMenu"]@onselect onSelect
verifyAttribute //select[@name="selectOneListBoxForm:hSelectOneListbox"]@size 10
verifyAttribute //select[@name="selectOneListBoxForm:hSelectOneListbox"]@accesskey A
verifyAttribute //select[@name="selectOneListBoxForm:hSelectOneListbox"]@onselect onSelect
verifyAttribute //select[@name="selectOneMenuForm:hSelectOneMenu"]@size 1
verifyAttribute //select[@name="selectOneMenuForm:hSelectOneMenu"]@accesskey A
verifyAttribute //select[@name="selectOneMenuForm:hSelectOneMenu"]@onselect onSelect
verifyAttribute //input[@name="selectOneRadioForm:hSelectOneRadio" and @value="RB1"]@type radio