Relevant Codes (by Anshoo Arora)

A Test Development Resource for HP QuickTest Professional.

.NET

I have been researching this topic for a very long time and I finally have a workaround which I have tested for for the last 2 months with great success. The best part about this workaround is, I just need to create wrappers, without including any of the code I have in my QTP function libraries. If I add a new method to my class, all I do to update the Intellisense is add the method (without the QTP code) in my VB lib, create a DLL and Register the library for COM Interop.

{ 24 comments }

This article shows a quick and easy way to use DLLs in QTP and access their methods with the help of DOTNetFactory. It also shows a working example of a DLL created in Visual Basic .NET and its methods accessed in QTP.

{ 106 comments }

Inheritance in VB.NET

by Anshoo Arora on August 10, 2009

In OOP, Class Inheritance has been one of the most important topics and it has been around since 1967 The idea behind class inheritance is to enable the inheriting (derived) classes use attributes of the base classes. This enables programmers to reuse the code by having derived classes share the functionality of their base classes [...]

{ 0 comments }

I’m sure you’re aware of Classes, which on a high-level are user-defined types, and their instances are objects. Vb.NET has introduced a new type, called an Interface. An Interface, according to this article by Nick Harrison, “is a contract that defines the signature of some piece of functionality”. This contract is fulfilled by the Implementing [...]

{ 1 comment }