Cache device screenshots for a sequence of screen analysis commands

All visual analysis commands require the system to retrieve a digital screenshot (in real-time) from the device. This device screenshot image transfer takes time depending on the device screen resolution.

Scenario: Your script includes consecutive checkpoint or find commands (validation points).

System default behavior: The system will use the same screenshot taken for the first command instance, for all preceding commands. 

Exceptions: The cached screenshot is not used if the commands:

  • Have a timeout greater than zero
  • Use scrolling

The cached image becomes invalid in the following cases:

  • After 15 seconds from the time the cached screenshot was taken. This invalidation time is configurable at the system and template level.
  • The user performed an operation (manually or through automation) that may change the screen (for example Press key, Touch, or Wait).

When the cached screenshot becomes invalid, it is not used anymore and the next analysis is performed on a new screenshot.