Check Element Presence CV#
Checks whether the specified UI element is present on the screen. If the element is found, the scenario continues through the "Yes" output; otherwise, through the "No" output.
| Selector | [Selector] Identifier of the UI element. If the selector is empty, the click will be performed using the specified offsets from the current mouse position. |
| Process ID | [Link] Variable, in which the process identifier is stored. Indicates, which application should be worked with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally specifies the specific browser tab that the block should work with. If the property is left empty, or if the Process ID variable was not previously assigned when the application was launched or the browser was opened, the application and browser tab will be determined from the content of the corresponding selector line. The process ID can be obtained, for example, using the "Run Application" or "Get Process" blocks. |
| Timeout | [Number] Maximum wait time for the specified element in seconds. |
| Auto Scrolling | If selected, the list will automatically scroll to the element that is outside the visible area. |
| Result | [Boolean] Result element check. If the element is found, the value will be $true, otherwise $false. |
| Error Handling Level | Selection of the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Exit Direction | Choose the block exit direction when an error occurs. Possible values:
This property lets you define the exit direction when errors occur for blocks that do not contain an "If error" connector (for example, the "Condition" block). If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Selection of the message level that blocks will output during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block. |