Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with passing value to second action
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
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:
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.
Reply


Messages In This Thread
RE: help with passing value to second action - by jove1776 - 04-19-2011, 08:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Part of parameters missing when passing between actions skumar007 1 2,990 10-10-2014, 02:00 AM
Last Post: skumar007
  Action Parameter passing problem Qtpuser1 1 2,833 04-18-2014, 06:23 AM
Last Post: kgovadav
  Getting run error passing a Frame into a user defined function!!! sepgs2004 1 2,824 10-14-2013, 06:37 PM
Last Post: anil2u
  how to call reusable actions by passing parameters.? Arun091 0 3,875 08-16-2012, 07:28 PM
Last Post: Arun091
  Passing array of classes to parameter of action nvKy 1 3,992 06-20-2012, 10:38 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 2 Guest(s)