HOW AND WHY TO CREATE EMPTY OBJECT IN QTP?

Answers were Sorted based on User's Feedback



HOW AND WHY TO CREATE EMPTY OBJECT IN QTP?..

Answer / sudhsrk

After an object is used the object has to be made empty so
that the memory used by that object is released and it can
be instantiated and used again. So we create an empty
object

Dim obj
Set obj = CreateObject("InternetExplorer.Application")

obj=Nothing

Is This Answer Correct ?    2 Yes 0 No

HOW AND WHY TO CREATE EMPTY OBJECT IN QTP?..

Answer / sudhsrk

After an object is used the object has to be made empty so
that the memory used by that object is released and it can
be instantiated and used again. So we create an empty
object

Dim obj
Set obj = CreateObject("InternetExplorer.Application")

obj=Nothing

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More QTP Interview Questions

What is the Difference Between Quick Test Pro and Quick test professional?

5 Answers   Infotech,


3. How to handle the exceptions using recovery secnario manager in Qtp?

2 Answers   Wipro,


Hi All. Can you please explaing what is checkpoint? How it Will Work? what is meaning of "check checkpoint ("proprtname").how it will compate with expected value? Thanks in Advance............... Lakshmi

3 Answers   ITC Infotech, TCS,


how to load all resource files(function libraries,object repositories etc) into tests without associating them?

1 Answers  


How to interact tool & application build in QTP?

1 Answers  


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

0 Answers   HP,


What are the types of object repositories? Which one is you are using?

1 Answers  


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1 Answers   IGI,


How can the expected image for a bitmap checkpoint be recaptured in QTP

2 Answers   Ordain Solutions,


Write the vb script for the lowest and highest values of an array?

1 Answers   Manhattan,


write the code to reverse a string without using Strrev built in function.

14 Answers   ADP,


Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the script execution without clicking on the OK button manually.

6 Answers  


Categories