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 |
How we can merge the object repositories?say if we have two or three object repositories then how e can merge them? is there any option in Qtp to merge the object repositories
How many types of OBJECTS are there in QTP?
8 Answers Intel, Inter Globe Technologies,
1.How to find in which row or column,string "Hyderabad" exist in excel sheet? 2.How to find how many times character "a" repeated in a given string "Koteswararao"
how do you configure QTP AND Test director?
what are inputs for automation?
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?
What is clean sweep?
How to save your test using quicktest professional?
I have made the recovery scenario in script. When i am exceuting the script. it stop automatically after running recovery scenario. Please tell the resaon?
By default Action1 runs first in QTP. Is it possible to start the run with Action2?
Definationions for keyword view and tree view?