10-22-2009, 12:48 AM
- 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
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
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