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

I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)

0 Answers  


Which statement will use for close an action in QTP?

0 Answers  


plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH

7 Answers   TCS, Wipro,


what is the difference between Table checkpoint and Database checkpoint in QTP

2 Answers   Ordain Solutions,


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

0 Answers   BirlaSoft,


What is the main disadvantage of using low level and Analog modes?

2 Answers  


Hi i have a webtable which is having 7 columns and 6 rows of data in that table of 4th and 5 th column each row is partiotioned into 3 sub rows i want to verify in each partitioned rows of corresponding row for ex values will be like this 0 / 1 ,26/28.if it is 0/1 i want to skip only if any num/num greater than 1 i want to click.

1 Answers  


How comfortable are you in VB scripting?

2 Answers  


How to Parameterize Object repository in QTP?

1 Answers  


Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?

3 Answers   Semantic Space,


How to release all resources file from the QTP?

0 Answers   Tech Mahindra,


how to get the particular chr in an array list the question is ....i have an array like this ABCD EBCF GBCH IBCJ HERE I NET TO GET ONLY "BC" FROM ALL HOW TO GET IT HELP ME ANY ONE THANKS

6 Answers   Cap Gemini,


Categories