Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Part of parameters missing when passing between actions
#1
Solved: 10 Years, 1 Month, 2 Weeks ago
Hi,
I am facing a problem with my QTP script and could not get a viable solution from quite a number of websites. Requesting help from anyone who knows what is that I am doing wrong here.

Requirement:
Pass 4 parameters from Action 1 to Action 2
What i did:
Action 1 calls Action 2. So, I defined all 4 parameters as Output parameters in the Action 1's properties. Similarly, I defined the same 4 parameters (with same name) as Input parameters in Action 2. Here is the sample list of values to the parameters:
Parm 1: A1
Parm 2: B1
Parm 3: C1
Parm 4: D1

I put in some Print statements in Action 2 such as:
Print Parameter("Parm 1")
Print Parameter("Parm 2")
Print Parameter("Parm 3")
Print Parameter("Parm 4")

Result:

Upon executing the test, the result was missing Parm 1 value. Here is the result of the print statements:
B1
C1
D1

I do not know why the first Parameter is not getting passed. I checked so many times the Action properties but could not find what is wrong. Please help.

Thanks,
Reply


Messages In This Thread
Part of parameters missing when passing between actions - by skumar007 - 10-09-2014, 08:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Set data parameters Mik2s 1 1,481 03-07-2019, 10:18 PM
Last Post: supputuri
  How to call Actions from other Actions Naresh 1 7,966 09-25-2014, 10:26 AM
Last Post: vinod123
  Launching .exe file with parameters magnifyingone 1 3,154 08-28-2014, 06:39 PM
Last Post: dplank
  Action Parameter passing problem Qtpuser1 1 2,833 04-18-2014, 06:23 AM
Last Post: kgovadav
  Need Help Understanding Parameters alex228015 0 2,285 03-18-2014, 12:30 AM
Last Post: alex228015

Forum Jump:


Users browsing this thread: 1 Guest(s)