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
Part 1: Automating Outlook using QTP | General Introduction
December 26th, 2011 | Posted by in Advanced Concepts | QTP Concepts - (1 Comments)Understanding RegisterUserFunc Syntax with Example
December 21st, 2011 | Posted by in QTP Basic Stuff | QTP Concepts - (2 Comments)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
How to achieve Method Overriding & Reuse using RegisterUserFunc in QTP
December 17th, 2011 | Posted by in QTP Concepts - (17 Comments)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
3 ways on How to Turn Off or Disable QTP Results
December 10th, 2011 | Posted by in QTP Concepts - (4 Comments)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
Understanding SystemUtil.Run syntax with examples
December 8th, 2011 | Posted by in QTP Basic Stuff | QTP Concepts - (7 Comments)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.
QTP Add-In Manager [1]: How to Enable or Disable Add-In Manager at Startup in QTP
November 22nd, 2011 | Posted by in QTP Concepts - (4 Comments)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.
How to capture application screenshot and display it in test results
November 13th, 2011 | Posted by in QTP Concepts - (3 Comments)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
3 Different Ways to Create Random Numbers in QTP
October 11th, 2011 | Posted by in QTP Basic Stuff | QTP Concepts - (1 Comments)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