Find Mobile Image

A Find Mobile Image building block is used to find a mobile image in an application when working with web automation.

Fully expanded, the Find Mobile Image block shows the following properties:

The Block Header (“Find Mobile Image”)

The green input connector in the header is used to trigger the block to start executing.

The green output connector in the header triggers when the mobile image has been successfully found.

The title of the block (“Find Mobile Image”) can be changed by double-clicking on it and typing in a new title.

Select Mobile Image

This property contains the locator for the mobile Image to be found.

The property can be cleared by right-clicking and selecting “Clear collection”.

Found Element

This property contains the found mobile image in the application. This can be used as the source image in other building blocks.

Not found

This green output connector triggers if the mobile image is not found before the timeout (see below). This is typically used to branch execution flow or to explicitly fail a case by linking it to a Fail block.

Position found

The position where the mobile image was found in X, Y coordinates in the application.

Click the expander button to work with the X and Y coordinates separately.

Area found

The position and size of the found mobile image in X, Y, Width, Height coordinates in the application.

Click the expander button to work with the area’s position and size and their nested sub-properties separately.

Default timeout

If the 'Default Timeout' checkbox is unchecked, then you can enter the timeout value based on requirement otherwise the timeout value is set as 60 seconds. If the 'Default Timeout' checkbox is checked, the 'Default timeout' value selected in the flow settings will be applied.

Timeout

The maximum time spent searching for the mobile image before giving up and triggering “Not found” (see above).

Note: All cases have a “global timeout” that can be configured in the “Settings” panel. This is unrelated to the timeout of a single building block. However, a running case will automatically be cancelled if it runs for longer than the global timeout.

Scroll to find

You can select None, Down, and Up from the Scroll to find dropdown. When a value other than “None” is selected, the building block will use scrolling when searching for the web element. This can be useful when searching in scrollable content such as web pages where elements are loaded asynchronously.

 

Max repeats

The maximum number of times to perform a scroll before giving up searching for the web element.

Await not found

When checked, the building block will assume that the mobile image is currently present and will wait until it can no longer be found on the screen before proceeding.

This can be useful for instance when waiting for a “Loading” message to disappear in an application.