JavaScript Object:  Text

Properties & Methods Functionality Test Data Test Case
defaultValue Checks VALUE attribute. Regular  Characters. tex002.html
form Checks name of the form which contains this text. Regular  Characters. tex001.html
name Checks NAME attribute. Regular Characters.  tex003.html
type Checks TYPE attribute. Regular Characters.  tex004.html
value Checks current value of the text. Regular Characters.  tex005.html
blur() First case checks whether blur method actually removes focus from the text or not.

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

  tex007.html

tex010.html

select() First case checks whether select method actually selects text or not.

Test case checks the return value from function select without parantheses.

  tex008.html

tex012.html

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

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

  tex006.html

tex009.html

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