Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

Parameters - Different values how to add it in the script

$
0
0

Hi,

I have created a parameter called dataType with values - dataType : KHB, KAN, DBR . iset its as Sequential and each iteration.

I called that parameter in my script- Init () as

var Name="Test_"+ TC.getParam("dataType")+"_" + currentDate + "_"+ currentTime;

Action ()

Type Name in Name textbox

value = Name which is a parameter

But my problem is it always takes first element for all 3 iterations.

I want everytime when it runs (made 3 in runtime settings) it should type Test_KHB (furst time)

Test_KAN(Second Time) etc.

How to solve this.

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>