Sorry Shrikantsr but I dont think that would solve my issue here as it should work with out that.
Is a very strange thing, i think qtp has some issues bugs?
I set up a new test with the following:
action1 code:
Action2 code"
action1 out param = pOutMessage
action 2 in param = pInMessage
action 2 call properties in param = pInMessage and points to the out param of action 1
the message is passed fine!!!!
I did the same with my main test the action 1 variable gets the message but somehow the parameter is just not being passed, is driving me crazy...
does qtp have some sort of cache that can be cleared?
ONE LAST THING.
I have divided my tests the following way. I have one test called Scripts and another test called RegressionTests which call that scripts. In the Scripts test everything in the Action Call Properties seems to be correct, but in the RegressionTest script when i look at the Action Call properties I see there is no option to use parameter from a previous test.
Is a very strange thing, i think qtp has some issues bugs?
I set up a new test with the following:
action1 code:
Code:
Dim outmessage
outmessage = "this is out message"
Parameter("pOutMessage") = outmessage
Action2 code"
Code:
Dim inmessage
inmessage = parameter("pInMessage")
msgbox(inmessage)
action1 out param = pOutMessage
action 2 in param = pInMessage
action 2 call properties in param = pInMessage and points to the out param of action 1
the message is passed fine!!!!
I did the same with my main test the action 1 variable gets the message but somehow the parameter is just not being passed, is driving me crazy...
does qtp have some sort of cache that can be cleared?
ONE LAST THING.
I have divided my tests the following way. I have one test called Scripts and another test called RegressionTests which call that scripts. In the Scripts test everything in the Action Call Properties seems to be correct, but in the RegressionTest script when i look at the Action Call properties I see there is no option to use parameter from a previous test.