Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the different ways to invoke an application using QTP?

1106


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?

1689


What Folder Structure following in Keyword Driven Frame work?

2715


What is debugging? How you debug your script?

1115


Hybrid framework supports Descriptive programming. Is it true?

1094


give me the code to save all messages of inbox of gmail into a folder and notepad

2047


Explain different types of action in qtp?

1031


How to check feasibility of the appliction?in automation testing?

1920


Have you used xml check point in your project? How?

936


What is the virtual object?

1073


What are the different types of recovery operation?

960


If I give some thousand tests to execute in two days what do you do?

974


how can we compare descriptive programing with a regular expression

2334


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

1028


What is the quicktest professional testing process?

1094