> Automatic Values Substitution
When running a test it is sometimes important to have different values
replaced during each script played back. eValid 3.x's new eV.Generate
feature can automatically substitute different values to the fields
which are specified by the user.
There are just a few steps to follow:
(1) Create a script that records user inputs to the screen. (i.e.
email log-in, search criteria's, Forms)
(2) Save the recorded script.
(3) Create a Template File from the recording made by copying the
script and renaming it into an *.evt (template) file. Field names
found in the template file should have a counterpart and
appropriate entries in the values file.
For example:
InputValue 72 "TEXT" "login" "{% login}" "" ""
InputValue 77 "TEXT" "passwd" "{% pass}" "" ""
(4) Create a Value File (data). Each field must have at least one
value following it.
[login] Value1 Value2 Value3 Value4 Value5
[pass] Value1 Value2 Value3 Value4 Value5
(5) Add the "eVgenRand / eVgenSeq ["Template File (*.evt)"] ["Value
File (*.data)"] command to the script that you are creating.
(6) Play back your script.
Observe your script as eVgen randomly / sequentially replaces the
values the user specified in the script.
|