Action1: I have a value "test" stored in a variable X.
I want to use that variable X in Action2 .. how?



Action1: I have a value "test" stored in a variable X. I want to use that variable X in A..

Answer / litan

Use environment variables.

Action 1 : Environment.Value("x")="test"



Value of x=Environment.Value("x") can be used any action.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More QTP Interview Questions

You have an application version 1 with 5 combo boxes, Developers develop version 2. Here they replaced bottom 3 combo boxes with each other. While executing the Test script for version1 no errors. When we execute the Test script for version2 that QTP showing the error message "Object not identified" remember no property changed in version 2, ordinal identifier also disabled. Find what properties might change here in this scenario

6 Answers   ADP,


how u will describe testing activities?

2 Answers  


How to call .vbs funtion , Library files in QTP? plz Explain indetail(chandana)

6 Answers   Wipro,


What are the advantages of qtp?

0 Answers  


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

0 Answers  






Explain more about the Test Fusion Report of QTP?

0 Answers  


what is the advantages and disadvantages of using functions instead of re usable actions

0 Answers  


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

0 Answers  


can anyone please tell me which is the best institute for learning QTP and Automation Testing tools in hyderabad with realtime examples and scenarios...I heard about many institutes in Ammerpet hyderabad i.e Suresh Reddy's Smart Solutions, Ashwin Palaparthi's Tech Teach,SUNNYSOFT, SITE institute, I-VINTAGE, siritechnologies and sriven institute..pls suggest me which to choose for learning QTP....Which institute has fasttrack option?

2 Answers  


Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

0 Answers   CFC,


is we can import the object repository from external source. if it so then how?

5 Answers  


WHICH PROCESS U FOLLOW IN COMPANY

1 Answers   IGT,


Categories