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
What are the different ways to invoke an application using QTP?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
What Folder Structure following in Keyword Driven Frame work?
What is debugging? How you debug your script?
Hybrid framework supports Descriptive programming. Is it true?
give me the code to save all messages of inbox of gmail into a folder and notepad
Explain different types of action in qtp?
How to check feasibility of the appliction?in automation testing?
Have you used xml check point in your project? How?
What is the virtual object?
What are the different types of recovery operation?
If I give some thousand tests to execute in two days what do you do?
how can we compare descriptive programing with a regular expression
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
What is the quicktest professional testing process?