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 to make arguments optional in a function?

0 Answers   Crea,


Hi all, Recently i faced this question in infosys What is QTP architecture?? Is Architecuture and Framework are same?? Can someone please give clear understanding of this.

3 Answers   Infosys,


we have 10 automation scripts. how to call them from one main script.

2 Answers  


How to open a new test using quicktest professional (qtp)?

0 Answers  


Explain how you can replace string in qtp?

0 Answers  






What is a data driven test in qtp?

0 Answers  


If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened. What would be Descriptive programming for this in QTP using VB Script..??? Please send your answers.

6 Answers  


Hi all, can anyone tell me the challenges u faced while using qtp?

2 Answers  


Diff B/w Webserver and Client Server

2 Answers  


How can you capture(Read) the values from a Table?

1 Answers  


How to see entire results at the same timeafter the batch run.. Cannot see the entire results at a time. Is there a easier way view everthing at same,as our batch file very large

2 Answers  


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

0 Answers   Rogers,


Categories