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

How to customize checkpoints with parameters?

3527


Explain object spy in qtp.

1032


Explain the checkpoint in qtp?

1066


For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

2236


What is a checkpoint? How many check points are there in qtp?

953


Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?

2047


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

2343


How many types of trigger events are there in qtp?

980


Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?

2917


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

2162


what is the difference btn risks & Therads in the Test plan documentation?

2096


What is qtp window?

957


Hi Samrat, Thank u very much, what u said it is right.

1855


what is clean sweep?

2239


Thanks....But can u tell me how i use the QTP for GIS with one Example...

1859