Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
parameters
#1
Solved: 10 Years, 9 Months, 3 Weeks ago
- declared a,b,c parameters in action1
a as random variable
b,c are test/action parameters

in test settings i have set default values of b,c as hello,world respectively

in action1 - action properties - parameters - set the values of b,c as pooja,prasanthi resp.

in action1 - action call properties - parameters - set the values of b,c to test/action parameters

Code:
Action1 - expert view - Msgbox("a"),("b"),("c")
Action2 - expert view -
  for i=1 to 3
      Runaction "Action1", oneIteration, RandomNumber("arg_a")
  next

Test result is pass
but

thre random number is generated 3 times then for the subsequent iterations the 3rd random no is repeated
ex : for 5 iterations - 23,67,13,13,13
for 6 iterations - 99,100,21,21,21,21

for b,c
for the first time - action1 is run - takes test/action parameter default values
for the second time when action 2 calls action1 - it is taking action parameters default values.

ex hello,world
pooja,prasanthi
pooja,prasanthi
....


regards pooja


Attached Files Image(s)
           
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,295 03-07-2019, 10:18 PM
Last Post: supputuri
  Part of parameters missing when passing between actions skumar007 1 2,855 10-10-2014, 02:00 AM
Last Post: skumar007
  Launching .exe file with parameters magnifyingone 1 2,944 08-28-2014, 06:39 PM
Last Post: dplank
  Need Help Understanding Parameters alex228015 0 2,209 03-18-2014, 12:30 AM
Last Post: alex228015
  New Test Parameters VenkataBonu 6 9,508 12-10-2013, 09:11 AM
Last Post: cflow

Forum Jump:


Users browsing this thread: 1 Guest(s)