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

write vbscript in qtp tool for senario, in the given sheet add each number in each row and each colunm and show result

3 Answers   Mind Q Systems,


Can launch two instances of qtp on the same machine?

0 Answers  


how can we merge the object repositories?is ther any option in qtp to merge the object repositories if we have two or three object repositories?

6 Answers   IBM,


What is the significance of “action 0” in qtp?

0 Answers  


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?

0 Answers   V2 Solutions,






If you are using descriptive programming and you have two objects with the same name, so you are identiying them by name and index, how can you avoid errors if a third object with the same name is added at the begining of the page?

4 Answers  


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

0 Answers  


In QTP, while launching qtp application from startup.. we find Advanced Keyword-Driven Testing caption.. wht is that...Anybody can pls explain it. Thanks in Advance

1 Answers  


Explain the concept of object repository?

0 Answers  


How do I get the QTP scripts result in xml format by using vb script function?

0 Answers  


We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario

1 Answers   HK, TCS,


Hello, How can i capture first letter of any string using QTP. For ex.. i want "j" in the below string "john" could any one explain me? Is there any function for that?

4 Answers   Livetek,


Categories