Region Checkpoints

Applies to TestComplete 15.47, last modified on January 20, 2023

Region checkpoints let you verify that an object or arbitrary area inside your application under test is displayed correctly. This is done by comparing the actual image with the previously captured baseline image stored in your test project.

In This Section

About Region Checkpoints

Provides general information on region checkpoints.

Creating Region Checkpoints

Explains how you can add region checkpoints to your test.

Parameterizing Region Checkpoints

Explains how to parameterize region checkpoints.

Alternatives to Region Checkpoints

Describes alternative approaches you can take to verify images of windows and controls under test.

Updating Region Checkpoints

Explains how you can update region checkpoints at runtime and from the test log.

How Image Comparison Works

Describes the general principles of image comparison and lists the parameters of the comparison engine.

Factors Affecting Image Comparison

Provides information on the factors that affect image comparison and may cause comparison failures.

Comparing and Finding Images - Specific Tasks

Contains information on how to make the comparison and search procedures “smarter”.

Finding an Image Within Another Image

Explains how to find one image within another image in your tests.

Why Image Comparison Fails

Provides information on possible reasons of image comparison failures.

Related Topics of Interest

About Regions Collection

Describes the Stores > Regions collection that holds expected images used in region checkpoints.

Picture Object

Describes the Picture scripting object that lets you work with images in tests: compare images, find an image within another one, resize images, extract subimages and perform other operations.

Capturing Images When the Aero UI Theme Is Active

Describes the specifics of using region checkpoints on various versions of the Windows operating system.

Samples

TestComplete includes a sample project that demonstrates how to create region checkpoints:

<TestComplete Samples>\Desktop\Checkpoints\Region

Note: If you do not have the sample, download the TestComplete Samples installation package from the support.smartbear.com/testcomplete/downloads/samples page of our website and run it.

See Also

About Checkpoints

Highlight search results