site
stats

From today, we are starting off a series of articles on how to automate Microsoft Outlook using QTP. In these articles, we’ll try to cover the important and frequently used functionalities of MS Outlook. In this first article, we will start with the basics of Outlook automation and later would move on to more specific/advanced

In this article, we’ll have a look at the syntax of RegisterUserFunc statement. We’ll also try to understand the syntax with the help of an example. Syntax RegisterUserFunc TOClass, MethodName, FunctionName, SetAsDefault

Method Overriding is one of the core features of Object Oriented Programming where you can replace the original/default implementation of a function with your own implementation. In other ways, your new function would override the code or logic of the original function. As an example, consider the addition operation which would give you the sum

Consider a situation where you want to “turn off” or disable QTP Results (some part of the result or the entire result itself) that is generated at the end of the test run. There may be many reasons why you may want to do this, few of which have been listed

SystemUtil.Run is an inbuilt QTP command that lets you run a file or an application. Mostly SystemUtil.Run command is used to open browser with a specific URL. But there is much more that can be done with it. Here in this article, you’ll see various examples on how to use SystemUtil.Run for different purposes.

To create any test script in QTP, you need to have one or more add ins associated with your QTP session. Usually when you open QTP, it first displays the Add-in Manager Screen where you can select your desired add-ins. Once you click on OK button, then only QTP main screen is displayed.

A common feature that QTP testers are often asked to implement is to capture the application screenshot every time an error occurs during test run. This is definitely a good to have feature in your automation framework because – a) When a script fails, you would have a proof that it failed due to

Many a times you would come across the need to create Random Numbers in your script. And this random number requirement would come in different flavors – you might need to create a random number of a certain length, or you might want a random number within a specific range, or you might just need