Knowledge base
Tips and tricks Best practice guides, FAQ & more
Find tutorials, guides and use case examples in the
Learning center
A Close Mobile Application block is used to close an open mobile application.
When you click on Expand, the block lists the below properties.
The Block Header (“Close Mobile Application”)
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 application has been successfully closed.
The title of the block (“Close Mobile Application”) can be changed by double-clicking on it and typing in a new title.
Bundle Id
The bundle Id or bundle identifier resource represents the mobile application’s unique identifier number.
Text fields
Fields that enable the use of external values in the bundle Id.
To use the value of an added field, right-click the bundle Id field above, select “Insert token” then insert this field’s name.
Fields can be re-named by double-clicking on them. The tokens will change their visual appearance accordingly.
Add field
Add a field to be used in the typed bundle Id field.
Default timeout
If the 'Default Timeout' property checkbox is not selected, then the timeout value is 60 seconds. If the 'Default Timeout' property checkbox is selected, then the 'Default timeout' value selected in the flow settings will be applicable.
Timeout
The maximum time spent searching for the application to be closed 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.
©2024, Leapwork. All rights reserved.