Page 1 of 1

What is the best way to manipulate the values on a page

PostPosted: Tue Oct 29, 2013 11:50 am
by Fenthik
Hi:

How to Parametrize the data?

I want to parametrize the username in login page
Recorded script:
InputValue 0 23 "TEXT" "username" "username" "ALPHA1" "" ""
I have created data synthesis file in .txt form (Parametrization.txt)and placed in Projects > Group folder
Format of file:
$USER=ALPHA2
$USER=ALPHA3
I have included datasynthesisfile in script as
DataSynthesisFile "Parametrization.txt"

Now I changed the script as below
InputValue 0 23 "TEXT" "username" "username" $USER "" ""
Playback is done using Synthesis mode
During playback, the text entered in username field is $USER instead of ALPHA2

Could you please provide some insight on how to overcome this.

Thanks

Re: What is the best way to manipulate the values on a page

PostPosted: Tue Oct 29, 2013 3:12 pm
by eValid
Did you "Run Synthesized?"

Unless you choose this special "get it started mode" eValid won't
do the parametric substitution step before each playback.

To have one script run repetitively, after adjusting values of parameters
in your script, you can use the powerful eValid Data Synthesis capability
(this capability also works in LoadTest runs also):

http://www.e-Valid.com/Products/Documen ... .data.html

I hope this answers your question.

-- eValid Support