JavaScript Object:  Submit

Properties & Methods Functionality Test Data Test Case
form Checks name of the form which contains this submit. Regular  Characters. sub001.html
name Checks NAME attribute. Regular Characters.  sub002.html
type Checks TYPE attribute. Regular Characters.  sub003.html
value Checks VALUE attribute. Regular Characters.  sub004.html
blur() First case checks whether blur method actually removes focus from the submit or not.

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

  sub006.html

sub008.html

click() Test case checks the return value from function click without parantheses.   sub009.html
focus() First case checks whether focus method actually gives focus to the submit or not.

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

  sub005.html

sub007.html

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