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

what is TOM in qtp?

5 Answers   Accenture,


Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ

3 Answers  


Does quicktest professional (qtp) is unicode compatible?

0 Answers  


With help of object repository,we can able to write the descriptive program manually?

1 Answers  


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

0 Answers  






Count the number of radio buttons and randomly select one.

1 Answers   Deloitte,


Can i run the qtp, without OBJECT REPOSTIRY...

8 Answers  


It is a SQL question. Write a query to find top three salaries in an EMP TABLE?

7 Answers  


Is there any option in QTP to add Java add-in after instaling the QTP?

3 Answers   IBM,


what are the areas that cannot be tested using an automated tool? list a few

7 Answers  


if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND

8 Answers   ADP,


how and what kind of vb functions do us ein QTP?

2 Answers   Ordain Solutions,


Categories