What is Environment Variable and when we apply this in QTP?

Answers were Sorted based on User's Feedback



What is Environment Variable and when we apply this in QTP?..

Answer / mercy

Environment Variable comes into picture when you try to
parameterize data. It is one of the data source. It
provides you some info which can be generated by the test
or the system you are using etc. Try selecting the
environment variable option...you get a list of values that
can be used like the iteration number, iteration name or
the system name etc.

Is This Answer Correct ?    4 Yes 0 No

What is Environment Variable and when we apply this in QTP?..

Answer / venu

Environment Variables are used during Parameterization.

For Example:
You have many set of scripts & every script makes a login.
To make a login we need Login credentials: Username &
Password. These 2 variables (Username & Password) can be
declared in a XML file & called in the each script as
environmental variables. Sometimes they are also known as
Global Variables, as these variables can be called in any
script.

Is This Answer Correct ?    4 Yes 1 No

What is Environment Variable and when we apply this in QTP?..

Answer / skyr

Based on the environment, data may be changed, to maintain our script execution on multiple environments, we have to use environment variables.
we can access E.variable values from all over the test pack.
When we parameterize data , we can use environment variables.

Is This Answer Correct ?    1 Yes 0 No

What is Environment Variable and when we apply this in QTP?..

Answer / chinna

Environment Variable we can use in any action at any test.
we have two types of environment variables. They are

1.Internal
2.External

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More QTP Interview Questions

How to parameterize Object Repository?

2 Answers  


what is framework and types of framework? Need of framework in automation? write folder strucuture of framework.

3 Answers   HealthAsyst,


what is throw object ?

1 Answers  


What are the file extensions for per-action, shared object repository files and what is the extension for library files?

9 Answers   Semantic Space,


What r the advantages of automation?

3 Answers  






how to prepared for first for the first interview?

0 Answers   Collabera,


Can I record on netscape browser does it require any special settings ?

2 Answers  


What is Reusable component is QTP...Anybody can answer it..Thanks in advance...

8 Answers   Siemens,


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

0 Answers  


How smart identification works in qtp ?

0 Answers  


in which situation u will use recording and in which situation u will used to write script manually

1 Answers  


Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

0 Answers  


Categories