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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where we can use the synchronization?

772


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

847


How would you export a script from one pc to another in qtp?

880


How do we analyze the checkpoint results?

799


What is the difference between rational rose and QTP?

1993


regular expression in qtp standar check point for months from accepting months from january to december only

1677


Difference between action & Reusable action?

835


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

1828


What is the short cut keys for the following?

834


The hybrid framework can be implemented for any application. Is it true?

789


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1728


How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

2103


What Folder Structure following in Keyword Driven Frame work?

2498


Explain the types of properties that quick test learns while recording?

782


What is use of object spy?

830