GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 571 of 684    Print  
How do we pass values between actions in one test other than by action call?
Say for eg, if action_1 contains a variable 'C' containing the value of a+b, how can we display the result (value of 'C') in action_2 ?


  
Total Answers and Comments: 5 Last Update: July 03, 2009     Asked by: Jishnu V K 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 10, 2007 07:28:39   #1  
raghuramgupta Member Since: January 2007   Contribution: 26    

RE: How do we pass values between actions in one test ...
Pass "C" as an input variable to the second action in which you want to use the variable "C"

Thanks and Ragards
RaghuamGupta.Sarabu
9866379523
raghu_13_sa@yahoo.com

 
Is this answer useful? Yes | No
February 21, 2008 03:15:49   #2  
NawabShaikh Member Since: January 2007   Contribution: 238    

RE: How do we pass values between actions in one test other than by action call?
Another Method is to Use Global Sheet for Storing Data of Actions to be used in the later one's


Regards
Nawab

 
Is this answer useful? Yes | No
March 05, 2008 08:00:53   #3  
gilshalev Member Since: March 2008   Contribution: 1    

RE: How do we pass values between actions in one test other than by action call?
Hi
You can assign the value to an Envirnoment collection:
Envirnoment("C") c

This collection is familiar in all actions.

 
Is this answer useful? Yes | No
March 26, 2008 03:16:40   #4  
ManjuPillae Member Since: March 2008   Contribution: 20    

RE: How do we pass values between actions in one test other than by action call?
We can Pass values between actions by storing values in DataTable or by storing the values in Environment Variable.

And we can refer in other Action.

 
Is this answer useful? Yes | No
July 03, 2009 13:55:52   #5  
sujata_2221981 Member Since: May 2009   Contribution: 9    

RE: How do we pass values between actions in one test other than by action call?
Call one action within the other one.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape