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

How to make loadrunner accept set of variables in the script

$
0
0

Hi, I am still a newbie in loadrunner so I apologize if my question will be a trivial one.

 

I was wondering if I can make loadrunner accepts any value after running the scripts without throwing an exception.

 

For example (the default tours example):-

I booked a flight from "Denver" to "Los Angeles" and completed the remaining steps till the credit card , I recorded this step in the script action file , so this part of code will be like that:-

 

"Name=outboundFlight", "Value=020;338;11/20/2013", ENDITEM : that means that I chosen the flight number "020" at this data "11/20/2013" and the price is "338$"

 


Now I adjusted the the script parameters to select the arrive city from set of parameters like "London, Zurich,...etc", and I re-run the script, but it failed because it should find this part of code like this:-

 

"Name=outboundFlight", "Value=020;338;11/20/2013" , Like the first time I recorded the script and didn't change.

 

So how can I make this part of code accepts any date or flight number ?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 3978

Trending Articles



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