QTP Tutorial #16 – Steps to Insert XML, Accessibility, and Database Checkpoints

Today we will continue with remaining QTP checkpoints i.e XML, Accessibility, and Database Checkpoints. This is the last tutorial on QTP checkpoints. We have covered details of all QTP checkpoints in last 4 tutorials.

XML checkpoint:

By adding XML checkpoints to your test, you can check the contents of individual XML data files or documents that are part of your Web application.

  1. You can perform checkpoints on XML documents contained in Web pages or frames, on XML files, and on test objects that support XML.
  2. An XML checkpoint is a verification point that compares a current value for a specified XML element, attribute and/or value with its expected value. Continue reading →

QTP Tutorial #15 – Using Text Area, Table, and Page Checkpoints in QTP

In the last article, we were discussing the ways in which QTP can compare text. We also saw how standard checkpoint can be used to check the text and discussed the text checkpoint in detail. The next checkpoint is Text area checkpoint. Let’s begin exploring it.

Note – We have aggregated links to all these QTP training tutorials on this first QTP tutorial.

Text area checkpoint:

  • This is used for windows applications.
  • Compares a text string within a defined area according to the criteria specified.
  • Defining the properties for this checkpoint is almost the same as that for a text checkpoint.
  • Continue reading →

QTP Tutorial #14 – How to Add Bitmap and Text Checkpoints in QTP Tests

Let us just continue our journey of familiarizing with the important QTP concept of adding checkpoints in today’s QTP tutorial too. In a previous tutorial, we learned how to add Standard and Image checkpoints in QTP tests.

In today’s QTP training session we will learn how to insert Bitmap and Text Checkpoints in QTP tests.

Bitmap checkpoint

A lot can be inferred from the name of this checkpoint itself.  However, it is often confused with the Image checkpoint.

Differences between Image and Bitmap checkpoints:

Difference #1: Image checkpoint works only on Web environment whereas Bitmap checkpoint works on any supported environments.

Difference #2: Bitmap checkpoint can be used to compare an area of an application Continue reading →

QTP Tutorial #13 – Steps to Insert Standard and Image Checkpoint in QTP Tests

In the previous QTP training session, we listed all the checkpoints that QTP provides. All these checkpoints are very important to insert verification points in QTP tests to check if current and expected values of an object match or not. This determines the PASS or FAIL status of that test.

In today’s tutorial, we will deal with QTP standard and image checkpoints in detail.

Standard Checkpoint:

1) It is used to check the Object Property value.

2) Compares the expected value with the actual value during runtime.

3) It can be set during recording or editing a test.

4) The active screen can also be used to insert this checkpoint. It is important that sufficient information be available in the active screen to be able to insert a checkpoint.

For Example: If there is a screen with, Login edit box, Password Edit box, OK, Cancel and Help buttons. We need to check if the Cancel button is visible. We are trying to achieve this by placing a checkpoint on Continue reading →

QTP Tutorial #12 – Expert View, Step Generator and Checkpoints Explained with Example

It is going to be an article on Expert View overview, Step generator and a brief introduction to Checkpoints that will be carried on further until we cover all the details elaborately with examples on how to use these while recording actual scripts. This is the 12th tutorial in QTP training series.

Expert view of QTP

  • Expert view is where the operations we performed on the AUT get displayed as VB Script code.
  • For every LOC in this view, there is a corresponding column in Keyword view.
  • There is also the action drop down box that can be used to access, view and edit different actions in the test.
  • This view is particularly useful for users who are familiar with programming using VB script.
  • One of the most important uses of this view is that it facilitates the creation of functions and function libraries. (a topic for detailed discussion later)
  • The user can print the test or function library as it appears in this view anytime. File->Print will print the test.

This is how it looks: Continue reading →