Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
parameters
#2
Solved: 11 Years, 4 Months ago
if you use 'RandomNumber' with a name then it generating new number will depend on the action iteration or test iteration, its is generated once per action/test or once for entire test depend on the configuration setting you. (see more info in QTP help)

I will suggest you to not to use the name in the parameter while using RandomNumber for this case
use start number and end number for the args of function
Code:
for i=1 to 3
Runaction "Action1", oneIteration, RandomNumber(0,100)
next

Reply


Messages In This Thread
parameters - by poojaprasanthi1919 - 10-22-2009, 12:48 AM
RE: parameters - by Saket - 10-22-2009, 11:56 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Set data parameters Mik2s 1 1,480 03-07-2019, 10:18 PM
Last Post: supputuri
  Part of parameters missing when passing between actions skumar007 1 2,990 10-10-2014, 02:00 AM
Last Post: skumar007
  Launching .exe file with parameters magnifyingone 1 3,153 08-28-2014, 06:39 PM
Last Post: dplank
  Need Help Understanding Parameters alex228015 0 2,285 03-18-2014, 12:30 AM
Last Post: alex228015
  New Test Parameters VenkataBonu 6 9,797 12-10-2013, 09:11 AM
Last Post: cflow

Forum Jump:


Users browsing this thread: 1 Guest(s)