Using the value substitution feature in eValid

How to apply eValid to functional testing of web applications.

Using the value substitution feature in eValid

Postby MikeJohn » Mon Sep 28, 2020 9:46 pm

Good Evening.

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

Thanks
MikeJohn
 
Posts: 1
Joined: Mon Sep 28, 2020 9:43 pm

Re: Using the value substitution feature in eValid

Postby eValid » Tue Sep 29, 2020 10:58 am

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
eValid
 
Posts: 2077
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons