JavaScript Object:  Select

Properties & Methods Functionality Test Data Test Case
form Checks name of the form which contains this select. Regular  Characters. sel001.html
length Checks number of options in selection list. Integer.  sel002.html
name Checks NAME attribute. Regular  Characters. sel003.html
options Checks option element. Object.  sel004.html
selectedIndex Checks index of selected option. Integer.  sel005.html
type Checks whether multiple selection is allowed or single selection. Regular Characters.  sel006.html

sel007.html

focus() First case checks whether focus method actually gives focus to the select or not.

Second case checks the return value from function focus without parantheses.

  sel008.html

sel010.html

blur() First case checks whether blur method actually removes focus from the select or not.

Second case checks the return value from function blur without parantheses.

  sel009.html

sel011.html

handleEvent() Checks the return value from function handleEvent without parantheses.   sel012.html