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 create a run time propertyfor an object?

3 Answers   IBM,


what is functions in qtp?i know the userdefind &bulit funation or i know that Private public function ?plz tell me what is funations in qtp?how to create a funation in qtp

4 Answers   NIIT,


.qfl extension for which file? where vl use it

1 Answers   iFlex,


Hi to All, My name is Aditya, i have 4 year exp in software testing (Manual Testing), but i try to shift my career now in automation testing. right now i have no exp or u can say i am not hand exp in live application. So please guide me, what i do ???? Can i join again automation course only practical which is live application. if u know any person who's expert in qtp and he/she ready to take my class i have our own and company laptop. If required i will pay amount please don't mind. Please help me, and i am also planing to join core java from coming 1st Aust (in seed) for only purpose the understanding script of Automation (QTP)... Please help me... I am waitting u r replay... Thank you Thanks again

5 Answers  


What is positive test case and Negative Test case? What is the meaning of Real World Scenario's?

2 Answers   TCS,






How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private

1 Answers  


how to create external data table?

1 Answers   TCS,


wt is automation framework? give explonation?

1 Answers   Mindlance,


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

0 Answers  


What is the extension for Recovery scenario?

2 Answers  


How will you check a web application for broken links using qtp?

0 Answers  


wht is the difference between action and functio?

3 Answers  


Categories