diff between global variables and environment variables in qtp?



diff between global variables and environment variables in qtp?..

Answer / ramchandra patil

Hi,

There is not a such difference between Global variables and
Environment variables they work same.but following points
need to consider.

1. Environment variables is a feature of QTP where as
Global variables we explicitly declare as a Public in VB
scripting.
2. if you wanted to create or access environment variables
you need to use Environment object where as we do not need
to use for the global variables.
3. There are three types of EV's a. Inbuilt b. Internal c.
External


Ramchandra Patil
9699851282

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More QTP Interview Questions

How to count the no of objects in XML file(QTP)

1 Answers   IBM,


Hi experts. I want to create a framework for the Flight Reservation sample application.Can anybody tell me the files and the contents , and how to create them.Thanks

2 Answers   IBM,


what is description object?

0 Answers  


What are the 3 main stages involved in testing with qtp?

0 Answers  


Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)

0 Answers   IBM,






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

0 Answers  


For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).

2 Answers   Bosch,


how to run the script If QTP tool not identify object in web page

2 Answers  


How can I check if a environment variable exist or not?

0 Answers  


how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

0 Answers  


What is difference between QC and TD?

8 Answers  


How we can call the scripit from another scripit in QTP?,Not a call Action

12 Answers  


Categories