Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what are the environment variables,how do you use them.
give an example.

Answers were Sorted based on User's Feedback



what are the environment variables,how do you use them. give an example...

Answer / deepa

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 ?    3 Yes 1 No

what are the environment variables,how do you use them. give an example...

Answer / chakrapani

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

what are the environment variables,how do you use them. give an example...

Answer / venkat

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 3 No

Post New Answer

More QTP Interview Questions

how to get column count in datatable

3 Answers  


what is supply chain management?

0 Answers   ITC Infotech,


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

0 Answers  


DIFFERENCE BETWEEN WR 8.2 & QTP 8.2? HOW TO INTEGRATE WITH SOME OTHER TOOLS?

1 Answers   CTS, Maveric,


User defined function in QTP

2 Answers   Lehman Brothers,


how do u copy object repository?

1 Answers  


When The Low Level Recording is Used in QTP

17 Answers  


Hi All. Can you please explaing what is checkpoint? How it Will Work? what is meaning of "check checkpoint ("proprtname").how it will compate with expected value? Thanks in Advance............... Lakshmi

3 Answers   ITC Infotech, TCS,


how to post xml data from QTP scripts to any application?

0 Answers  


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

0 Answers   CTS,


How to do call a output parameter from one action to another action??/

0 Answers   TCS,


How to get line numbers in your editor in expert view?

2 Answers  


Categories