What are the environment variables?

Answers were Sorted based on User's Feedback



What are the environment variables?..

Answer / uday

Environmental variables are useful when parameters defined
in different actions accessible through out the test.

These are also useful to get system, test and other
information like OS, TestName etc...

Two types of environment variables:
1. Build-In Env: ex: TestName, OS name,Iteration name,
action name etc.
2A. User defined Internal: These variables are read-write
vars. We can give a var name and value.
2B. User defined External: These variables are read only,
loaded from external xml file.(This is useful in localizing
testing).

Is This Answer Correct ?    6 Yes 0 No

What are the environment variables?..

Answer / sri

Environment Variables are those variables which can be used
globally across the test(s). There are two types of
Environment variables:

1. Built in Variables

2. User Defined Variables.

For more details, please have a look at:

http://everythingaboutqa.blogspot.com/2011/07/environment-variables-in-qtp_20.html

Is This Answer Correct ?    1 Yes 0 No

What are the environment variables?..

Answer / sonal.pagare

Environment variables are the special variables which stores
information about the test/application’s environment.
Throughout the test run, the value of an environment
variable remains the same, regardless of the number of
iterations, unless we change the value of the variable
programmatically in your script

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

How to call actions in QTP?

2 Answers   Wipro,


can u put checpoints for moving images

2 Answers   Accenture,


what is the difference between function and subroutine ....here every one knows theoretically...here my QUESTION IS WHAT IS THE MEANING OF FUNCTION CAN RETURN A VALUE AND SUB CAN NOT RETURN A VALUE .....WHAT DOE'S IT MEAN FUNCTION CAN RETURN A VALUE HOW FUNCTION CAN AND SUB CAN'T ....GIVE A EXAMPLE FOR BOTH ....HOW IT CAN AND CAN NOT...HELP ANDY ONE....

1 Answers   HCL,


What is keyword driven framework?

0 Answers  


What is Parameterizing Tests?

4 Answers  






I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail.?

1 Answers   TCS,


I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You

0 Answers   IBM,


How you are maintaining shared object repository in your team or your project?help me plz

1 Answers   CTS,


Thanks....But can u tell me how i use the QTP for GIS with one Example...

0 Answers  


How to open any application during Scripting in QTP?

7 Answers   Celgene, IBM,


what is command for executing files?

0 Answers   VSoft,


Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!

3 Answers  


Categories