> Recording Hidden Fields
Some web application pages often contain form fields within the
page which are not visible but nevertheless play an integral part
of the application's function and operation.
eValid has support for testing "hidden fields" that assures that
the test plays back reliably.
To identify the hidden values recorded in the script file, eValid
records these commands with the "HIDDEN" attribute. For example,
here is how a hidden field would appear if you ask eValid to
record hidden fields (see below):
...script...
InputValue 0 1 "HIDDEN" "carTypeID" "4000" "" ""
...script...
To choose hidden field recording open the eValid preferences,
select "Record/Play Preferences > Record", and then select the
"Include Hidden Form Elements" option.
Note that a possible negative effect of recording hidden fields is
that the length of the script may grow and this may complicate the
script for future editing.
A good technique for recording hidden fields is to switch this
either option on only when absolutely necessary and/or to comment
out recorded hidden fields that are not needed during script
playback.
|