david.calhoun@vanick.com 0 Report post Posted April 9, 2013 I have a file with address, city, state, zip. I need to randomly select the address, but the city, state, and zip have to match. I can separate each into their own file, and use $LRand(), but that chooses any random address, and combines that with any random zip, etc. I can use $LOrder(), but that starts at the beginning of the file each time. Same with comma separated values. I basically need each session to randomly choose a line of a csv file, and not just start at the beginning row each time we start a test. Quote Share this post Link to post Share on other sites
sergei 0 Report post Posted April 11, 2013 I can suggest JavaScript only. Quote Share this post Link to post Share on other sites
david.calhoun@vanick.com 0 Report post Posted April 11, 2013 Can i declare a variable at the beginning, instead of it pulling a new value each time? For instance, and i pull a random zip code at the beginning and keep using that same code? If i use $Lrand() each time, it comes up with a different number. Quote Share this post Link to post Share on other sites
sergei 0 Report post Posted April 12, 2013 Yes, you can. Quote Share this post Link to post Share on other sites