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
Свойство | Описание | Тип | Пример заполнения | Обязательность заполнения поля | Обязательность заполнения поля |
---|---|---|---|---|---|
Параметры | |||||
Элемент | Ресурс который хранит данные о выбранном элементе приложения | Robin.WinElement | Да | Да | |
Тайм-аут | Время в миллисекундах, в течении которого будет происходить поиск нужного окна. | 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.
Обзор
Инструменты контента