Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 ?    3 Yes 1 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 ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

Is there anyway to have QTP go into a website and map out every object before I actually record any tests? I basically want to map out a website with all the objects and build a complete repository. The reason is because I'm running into issues with hierarcical objects. for example: Browser("ABC company- Home").Page("ABC company - Home").Link ("About Us").Click Browser("ABC company - Page 2").Page("ABC company - Page 2").Link("About Us").Click Both these links ("objects" and I use that term loosely as I'm trained mostly in OO programming) go to the same place but but the object heirarchies (pages) are different. I want a repository that will find any possible link on any possible page without having to manually record it. Is there a way to do this?

1 Answers  


Hello! i am having two comboboxes.Each having 10 items in it.when i select first item in first combobox,it is not similar in the second combobox.for ex in first combo if it is Hyderabad,in second it should be some chenai or some other item .Write a VBSCRIPT for that?

3 Answers   Tech Mahindra,


Explain in brief about the QTP Automation Object Model.

1 Answers  


what is the difference between function and subroutine ....here every one knows theoretically...here my QUESTION IS WHAT IS THE MEANING OF FUNCTION CAN RETURN A VALUE AND SUB CAN NOT RETURN A VALUE .....WHAT DOE'S IT MEAN FUNCTION CAN RETURN A VALUE HOW FUNCTION CAN AND SUB CAN'T ....GIVE A EXAMPLE FOR BOTH ....HOW IT CAN AND CAN NOT...HELP ANDY ONE....

1 Answers   HCL,


how to capture the run time values of web table.

3 Answers   CTS,


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

0 Answers   Covansys,


what is descriptive programming?

5 Answers   Ordain Solutions,


I'm having a problem to get the status(pass or fail) during runtime for every iteration ran, and must get the results stored to an excel sheet if possible.

1 Answers   FAI,


What are the steps involved in the recovery scenario wizard?

0 Answers  


What is difference between QC and TD?

8 Answers  


How can we check whether a particular sheet loaded (existed) or not in Data Table.

7 Answers   TCS,


what is error and fault in terms of software quality?

0 Answers   TCS,


Categories