ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
what are the environment variables,how do you use them. 
give an example.
 Question Submitted By :: Rajuvem
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what are the environment variables,how do you use them. give an example.
Answer
# 1
Environment variables are two types
1) Built in
2)User Defined

User Defined also two types
1)User Defined Internal
2)User Defined Internal
 
Is This Answer Correct ?    0 Yes 0 No
Venkat
 
  Re: what are the environment variables,how do you use them. give an example.
Answer
# 2
Environment Variables are variable whose value is fixed for 
its usage everywhere.
There are two types.
1.Built in-which are already existing in QTP which we can 
directly use in out script.
ex:ActionName,ActionIteration

2.User-defined
which user has to define and use those variables anywhere 
in the action.
Ex:File path-Suppose u r reffering a data file in ur script 
then store the location of ur file path in environment 
variable and use it across the actions.
 
Is This Answer Correct ?    0 Yes 0 No
Deepa
 
 
 
  Re: what are the environment variables,how do you use them. give an example.
Answer
# 3
Built in Enironment 
a=Environment.Value("TestName") 
msgbox a   (this gives test script name )
if u see in qtp Resources Environment built in u find many 
 things like TestName, Pathdir,version etc

User defined Evironment

i want to store a value in run time and pass to another
script then
a=Enironment.Value("DocumentNumber")
 
Is This Answer Correct ?    0 Yes 0 No
Chakrapani
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it? IBM6
How to parameterize Object Repository?  2
While testing .net applications with QTP 9.1 in normal recording mode, QTP records my unintentional mouse clicks and window dragging which I don't want. But I can't stop QTP recording those mouse clicks and window dragging. Can somebody let me know how I can get rid of it, please ! Thanks.  1
How to send QTP scripts to our colleagues? Virtusa1
How to handle the exceptions using recovery scenario manager In QTP?  2
Using Object Repository is a advantage or disadvantage? Wipro5
How can i count the list box elements in QTP ?using script plz explain me (Chandana) Wipro6
i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself TCS4
what is the process to follow between writing the test cases & then atomating it?  1
what is stlc and its contents?  1
what is vmodel?advantages and disadvantages of vmodel? AZTEC3
What is keyword view and Expert view in QTP? Ordain-Solutions5
can u tell me website address of VBscript with examples.  2
Tell me few important difference Between QTP and WinRunner? Syntel2
Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance.. Sony3
How we can add actions in the test using QTP? BirlaSoft4
how to do regression testing in qtp? plz give ans with examples TCS3
In what situations QTP will not recognize the Objects? Wipro4
How to Parameterize Object repository in QTP?  4
PLZ EXPLAIN HOW TO LAUNCHING QTP IN TEST DIRECTOR? Is it possible or not? If No Why we r using qtp Td Combination? plz explain briefly? What is the purpose of TD With QTP? Wipro1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com