Tips and tricks Best practice guides, FAQ & more
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”.
This property contains the found mobile image in the application. This can be used as the source image in other building blocks.
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.
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.
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.
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.
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.
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.