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 do u fetch data from a database ?

2 Answers  


There are two tabs in the application suppose, A and B.On clicking the tab "A" one table grid will open. if u click on tab "B" Another table gride will open. Now can I do some operations on both table grids with a single table grid properties in the object repository? I have added all objects of the first table grid into the object repository Now iam checking enable/disable status of "save button" in the second table grid my code is like this val=javawindow("zseries").javabutton("save").getroproperty ("enabled") when I highlighting the save button in the object repository by keeping open the second tablegrid on the application.It is displaying the popup message"The selected object can not be found in the application" can I use properties of one table grid for both tabs if so how it is possible. Can anyone help me

2 Answers   Livetek,


When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of browser and also it does not show all the hierarchy tree of that particular web page. 1. Window("Mozilla Firefox").Check CheckPoint("Mozilla Firefox") 2. As everybody knows it should be browser("Mozilla Firefox").Check CheckPoint("Mozilla Firefox") I am using the windows vista, do you think it may be a problem of my settings in QTP or problem of my installation. Your kind responses will be appreciated. Thanks in advance. Satya

12 Answers  


WHY U CHOOSE TESTING FIELD?

6 Answers   CybAge, TCS,


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

0 Answers  


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

0 Answers  


Is it possible to check the Run time value property of a field through a Database Checkpoint ? Further, is it possible to localize and mention a particular cell , in the database dynamically. My requirement is that I would need to check the status of a particular field , that would change from an "Active" state to a "Stopped" state dynamically.

1 Answers   CTS,


Does QTP is "Unicode" compatible?

4 Answers  


I have a Webedit object. some text is entered in that object I want to know the font sixe of that text.How could I do this using QTP? This is a requirement for me. I am happy if any one help on this

3 Answers   GE,


What is the basic concept of quicktest professional (qtp)?

0 Answers  


Mention the different actions types of qtp.

0 Answers  


what is framework in QTP? any one give me answer

4 Answers   Wipro,


Categories