Page 1 of 1

Using the value substitution feature in eValid

PostPosted: Mon Sep 28, 2020 9:46 pm
by MikeJohn
Good Evening.

What can you tell me about Automatic Values Substitution in eValid?

Thanks

Re: Using the value substitution feature in eValid

PostPosted: Tue Sep 29, 2020 10:58 am
by eValid
MikeJohn wrote:Good Evening.

What can you tell me about Automatic Values Substitution in eValid?

Thanks


Thanks for asking MikeJohn.

When running a test it is sometimes very important to have different values replaced during each script played back.

eValid's 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) Playback your script.

Observe your script as eVgen randomly/sequentially replaces the values the user specified in the script.


--eValid Support