O'Reilly logo

TestComplete Cookbook by Gennadiy Alpaev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating property checkpoints

The pith and marrow of any testing lies in the execution of various kinds of checks. In this recipe we will come to grips with the simplest type of checks: property checkpoint.

This means that for a selected object we check the value of a certain property (for example, text, availability, visibility, and so on).

Getting ready

Launch the Calculator Plus application (C:\Program Files\Microsoft Calculator Plus\CalcPlus.exe).

How to do it...

In order to create a property checkpoint we need to perform the following steps:

  1. Begin recording of the script (go to Test | Record | Record Script menu).
  2. Switch to the Calculator Plus window and calculate some mathematical expression, for example, 2+7.
  3. On the Recording pane, in the Create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required