get baseline image count

Description

Retrieve a count of the total number of baseline images that reside in a given picture check.

Arguments

Valid contexts

This action may be used within the following project items: test modules and user-defined actions.

Applicable Built-In Settings

The following settings are applicable to this action: remove double quotes from cells.

Applicable Systems/Platforms

Use of this action is supported on the following system(s)/platform(s): Windows, Linux.

Notes

Example - Case 1: Retrieving the total number of a given baseline image



Action Lines

Result

Example - Case 2: Integrating with a third-party image processing tool

In this example, the ImageMagick v.6.9.3-7 tool is invoked for further image processing.

Suppose that you’d like to compare the baseline image against the runtime image, but ignore the differences in their color.

A basic workflow is as follows:

  1. Capture the runtime image in the AUT, and then save it to a local path by using capture screen.
  2. Retrieve the total number of baseline images in a given picture check by using get baseline image count.
  3. Loop through the list of returned baseline image(s).
  4. Export the baseline images to a file with export baseline picture.
  5. Use ImageMagick CLI to preprocess and compare the baseline image(s) against the runtime image.
  6. Get the returned value from ImageMagick, and then check it against an expected value.

Action Lines


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400