Skip to main content

Controlling Element Identification Rules

When running a test step on a Native element, a set of rules are enforced in the found element's properties before the actual command operation is performed.

Busy Element Rule

A Busy Element is an element that is still being drawn by the Operation System on the device, or is busy showing some animation.
In case the element is found in such state, SeeTest waits for it to get idle for a short time, and then gives up waiting and performs the step on the busy element.

Default behavior can be configured by setting app.properties file as per properties described below. 

PropertyValueDescription
element.idle.timeouttimeout in millisecondsTimeout wait for busy element (1500 by default)
assert.element.idletrue or falseIf element is not found till timeout - should the test step fail ("true") instead of continuing to perform it on the busy element ("false" - the default value).

Elements with zero size

Elements with zero size (i.e. width or height) are often deflated elements that the application intend to inflate when they are required. 

This default behavior might be configured by setting the following properties: 

PropertyValueDescription
assert.element.dimensiontrue or falseshould elements with 0 width or height fail the test ("true" by default).