What is diffrence between Global variables and Environment
variables...Anybody can give me answer..Thanks in advance..

Answers were Sorted based on User's Feedback



What is diffrence between Global variables and Environment variables...Anybody can give me answer...

Answer / satish j

Global Variable is as the name says a global variable,its a
variable that can be accessed and used globally across any
test run by QTP.

Environment variable also function more or less in the
similar fashion but is typically used for parametrization
across scripts,passing otuput parameter value from one
action as input parameter to another action.

Is This Answer Correct ?    2 Yes 1 No

What is diffrence between Global variables and Environment variables...Anybody can give me answer...

Answer / saha

the environment varibles are two types system defined and
user defined

system defined are qtp displays by default in environment tab
where
user defined is two types
Local:we r creating these are in environment tab only for
that test we cant use it to other test

Global: creating in notepad and saving with extension.ini
what are the environments you need like user name, password,
server name, database these are we can use in any test

Is This Answer Correct ?    4 Yes 4 No

What is diffrence between Global variables and Environment variables...Anybody can give me answer...

Answer / mns

Its one and the same thing. In other scripting languages,
we call global variables and in QTP, its called environment
variables.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More QTP Interview Questions

How we can merge the object repositories?say if we have two or three object repositories then how e can merge them? is there any option in Qtp to merge the object repositories

5 Answers   BirlaSoft,


How many types of OBJECTS are there in QTP?

8 Answers   Intel, Inter Globe Technologies,


1.How to find in which row or column,string "Hyderabad" exist in excel sheet? 2.How to find how many times character "a" repeated in a given string "Koteswararao"

6 Answers   Ness Technologies,


how do you configure QTP AND Test director?

1 Answers   Satyam, TCS, VB,


what are inputs for automation?

3 Answers  


Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?

1 Answers   FAI,


What is clean sweep?

0 Answers  


How to save your test using quicktest professional?

0 Answers  


I have made the recovery scenario in script. When i am exceuting the script. it stop automatically after running recovery scenario. Please tell the resaon?

2 Answers  


By default Action1 runs first in QTP. Is it possible to start the run with Action2?

9 Answers   Virtusa,


Definationions for keyword view and tree view?

1 Answers  


Categories