VBScript’s error handling techniques have been quite limited to On Error statements, and even though they satisfy our needs to some extent, the lack of incorporating dynamic behavior with them has been a much bigger issue. In this article, I will implement a Try-Catch-Finally statement with QTP’s GUI objects along with an On Error statement. This will enable dynamic behavior and enable us to easily divide flow depending on different error conditions.
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.
This article demonstrates how working with large object hierarchies (like Siebel’s) can be greatly simplified in QTP by using one of the 4 techniques mentioned here.
This article demonstrates an elegant approach to working with multiple Browsers through the use of Classes and Dictionary Object. Examples included.