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

Whats the realtime QTP testing process

1984


what is the difference between IE & Netscape in web testing on a log in page

1782


What is action split and the purpose of using this in qtp?

529


How can we conduct U-I Testing by using QTP??????

1418


I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You

1514






What is the use of an object spy tool in qtp?

553


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3046


how do i know how to use tools

1441


How you will rate urself in QTP in the range of 0 to 5

1740


Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

596


Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance

1760


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2794


What is text/text area checkpoint?

560


How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

563


How to use output values in qtp ?

548