Wait for element disappear Version 16 (Net)
Action group: Windows
...
Description
The action waits for an element that fits specified criteria to disappear.
Action icon

Settings of parameters
СвойствоОписаниеТипПример заполненияОбязательностьзаполнения поляОбязательность заполнения поля | Параметры |
---|
Элемент | Ресурс который хранит данные о выбранном элементе приложенияfield |
Parameters |
Element | Resource with data of selected element in application | Robin.WinElement |
ДаДа | ТаймаутВремя в миллисекундах, в течении которого будет происходить поиск нужного окнаout | Time in milliseconds to find required window. | Robin.Numeric |
Нет | Нет Special conditions of use
No prior activation of the window containing the item is needed.
The group does not work with the taskbar, explorer, and workspace.
Example of use
Task
Two windows are open: "Parameters" and "Mail". Activate the "Mail" window after closing the "Parameters" window manually.


Solution
Use the "Wait for element disappear", "Activate window" actions.
Implementation
- Assemble a robot scheme with the actions.

- Set the "Wait for element disappear" action parameters. Get the element using the WinSpy tool.

- Set the "Activate window" action parameters.

- Click "Start" in the top panel. Close the "Mail" window manually (for the robot, the item located in this window will disappear).
Result
The program robot completed successfully. The robot waited for the specified element to disappear and activated the "Parameters" window.
...