Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

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

Свойство
Property
Описание
Description
Тип
Type
Пример заполнения
Filling example
Обязательность
Mandatory 
заполнения поляОбязательность заполнения поляПараметрыЭлементРесурс который хранит данные о выбранном элементе приложения
field
Parameters
ElementResource with data of selected element in applicationRobin.WinElement
Да

Yes
ДаТайм
Time-
аутВремя в миллисекундах, в течении которого будет происходить поиск нужного окна
outTime in milliseconds to find required window.Robin.Numeric
НетНет

No

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

  1. Assemble a robot scheme with the actions.



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



  3. Set the "Activate window" action parameters.



  4. 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.

...