waht is the diff b/w Environment variable and Global
variable in qtp?? explain types of variable in qtp??
Answer Posted / medabalimi
Environment Variables:
As the name implies the Environment variables contain the
information related test environment and machine
environment.
Two types 1.Built-In and 2.User Defined. Though the Built-
in values seems to be constant they are actually variables,
the machine takes care of maintaining appropriate values.
Not editable directly by a user from QTP. Ofcourse the user
defined can be modified any time from QTP.
They are just Name & Value pairs and are of type string
data. Accessible globally in QTP tests. Example:
UserID="SomeName" Where Name="UserID" and Value="someName"
We can say the Environment variables are subset of Global
variables in one aspect. That means we can declare
variables with Name Value pairs of any type supported by
the script language. We have the advantage of defining
dimentional/hierachical data (multi dimentional arrays)
which is not possible with environment variables.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How many types of recording modes in the qtp?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
When should I use smart identification?
How to run a test using quicktest professional?
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
How can you pass value one action to another action?
How do you delete unwanted results in qtp?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
Define Error Pane of UFT?
explain how to write vb script in qtp?when will you write own script?
Explain the concept of how quicktest professional (qtp) identifies object?
What are the different types of recovery operation?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
How many types of recording modes are there?