diff between global variables and environment variables in qtp?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.

1522


Approach for Installation,comaptibility,system testing

1708


how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!

1737


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1526


desribe a situation where u faced a stressful situation and how did u cope with it

1411






Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...

1315


Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.

637


How to find the path of folder in which the test is saved in qtp?

534


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

656


How to modify the text checkpoint?

614


How does qtp recognize objects in aut?

592


How to add object to object repository in qtp9.0 Suppose for brower yahoo home page

1429


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

1395


What is reusable action?

603


How to modify object property in qtp ?

564