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
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 |
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 |
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 |
who is the best faculty in HYD? Nageshwar rao or GC reddy?
In QTP, As a first step wht we will do before going to start a Automation....when it will be decided that we have to go for a Automatio..and who will decide to go for Automation. Any body can pls let me know.. Thanks in Advance..
write script for bitmap image?
How would you directly trigger javascript in a test?
How function returns a value?
Can you tell me any books or websites to learn VB Script for QTP ??
how to add a runtime parameter to a data sheet?
Hi, I have weblist which contains the data like Design change,admin edit and cost saving etc.. User doesn't know the values existed in weblist. Now the user has to select the right value from the list otherwise the test will fail. Pls help me "To select the correct value from the list"
How does QTP identifes the object in the application?
How to count no of edit boxes on the page?
what is mean by output parameters? I need full description with example. tell me any one please
how much space occupies in object respository by default?