QTP Real Life Example

by QTP Master on May 15, 2011

If you are like me you’ll prefer getting your hands dirty and try the application before reading the manual. I like to learn by doing. At first this might look like a more time consuming approach due to the large amount of mistakes you’ll do. But as you progress, your skills will improve rather rapidly and you’ll remember much more than by reading manual.

So for all of you prefer this kind of learning method I have a video tutorial consisting of 5 parts. In about 50 minutes you’ll learn step by step how to automate testing for a single web application. In this case it’s an online job portal where you can browse open positions and apply for a job.

{ 0 comments }

Analyzing the Login Action in the Keyword View

April 30, 2011

Let’s take a look at the steps in your first action. Each step represents an operation to be performed in the Web browser. The columns in the Keyword View show different information for each step, as follows: Item. The item for the step (test object, utility object, function call, or statement) in a hierarchical icon-based [...]

Read the full article →

Adding Steps to the Login Action

April 27, 2011

A step represents an operation to be performed on your application. For example, a step might click an image or insert a value into an edit box. In Analyzing Your Application, you created unique actions for most of the pages in the Mercury Tours Web site and added them to your test. This enables you [...]

Read the full article →

Preparing to Create a Test

April 9, 2011

Before you begin creating a test, ensure that your application and QuickTest are set to match the needs of your test. For the purposes of this tutorial: In Microsoft Internet Explorer, clear the AutoComplete option for user names and passwords (choose Tools > Internet Options > Content tab > AutoComplete Button). Close all browsers before [...]

Read the full article →

Associating the Function Library with Your Test

April 5, 2011

Now that you created a function and stored it in a function library, you need to associate the function library with your test so that its function will be available to your test. After you associate the function library with your test, you will verify that it was associated successfully. If it is not currently [...]

Read the full article →

Creating a Function

April 2, 2011

In this lesson, you will create a function that you will later call from your test. This function checks whether a date is displayed in MM/DD/YYYY format. The function also verifies that the date is potentially valid, for example, that the month does not exceed 12 or that the date does not exceed 31. Start [...]

Read the full article →

Introducing Functions and Function Libraries

April 2, 2011

In this lesson, you will use the QTP function library window to create a function and associate it with your test. Associating a function library with a test enables you to call any of the functions in the function library from that test. A function is a set of coded steps that perform a particular [...]

Read the full article →

Using Multiple Object Repositories

March 22, 2011

In the previous article, you created a shared object repository for the Welcome page of the Mercury Tours Web site. Now, you will create a shared object repository for each of the remaining pages in the site. Tip: It is recommended to always create a separate shared object repository for each page in your Web [...]

Read the full article →

How To Record QTP Script [VIDEO]

March 10, 2011

If you are new to QTP and you are wondering how to record QTP script you came to the right place. On our site you’ll find many articles and videos which will guide you through the different parts of the QTP application. In this article we specifically focus on recording the script. If you haven’t [...]

Read the full article →

Learning Objects in Your Application

March 5, 2011

In this section, you will use the QuickTest Navigate and Learn option to add objects from the Mercury Tours Web site to a shared object repository. Then you will associate the object repository with your test. Start QuickTest. If QuickTest is not currently open, open it as described in step 1 in Creating an Action, [...]

Read the full article →