Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 5 Текущий »

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

  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.

  • Нет меток