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 to customize checkpoints with parameters?
Explain object spy in qtp.
Explain the checkpoint in qtp?
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?
What is a checkpoint? How many check points are there in qtp?
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?
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
How many types of trigger events are there in qtp?
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?
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
what is the difference btn risks & Therads in the Test plan documentation?
What is qtp window?
Hi Samrat, Thank u very much, what u said it is right.
what is clean sweep?
Thanks....But can u tell me how i use the QTP for GIS with one Example...