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

Ключ

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

...

Move mouse cursor Version 11 (Java)

Группа действийAction group: БраузерыBrowsers

Описание

Действие перемещает указатель мыши относительно центра указанного элемента

Иконка действия

Image Removed

Параметры действия

Входные параметры 

  1. Поле "Контекст" - Контекст действия для работы с браузером.
  2. Поле "Элемент" - Веб-элемент для взаимодействия.
  3. Поле "Смещение по оси X" - Смещение по оси X относительно центра элемента.
  4. Поле "Смещение по оси Y" - Смещение по оси Y относительно центра элемента.

Настройки

...

Description

The action moves the mouse pointer relative to the center of the specified element.

Action icon

Image Added

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextAction context for working with the browser
СвойствоОписаниеТипПример заполненияОбязательность заполнения поляПараметрыКонтекстКонтекст действия для работы с браузером
.Robin.Selenium
Контекст браузера
Browser context
Да
Yes
ЭлементЭлемент для взаимодействия
ElementElement for interactionRobin.WebElement
 

Yes
ДаСмещение по оси
X axis offset
Смещение по оси X относительно центра элемента
X-axis offset relative to the center of the elementRobin.Numeric
 

No
НетСмещение по оси
Y axis offset
Смещение по оси Y относительно центра элемента
Y-axis offset relative to the center of the elementRobin.Numeric
 Нет

Особые условия использования 

Работает только в пределах видимой области. 

Пример использования 

Задача


No

Special conditions of use

The action works only within the visible field.

Example of use

Task

Go to website Необходимо зайти на сайт https://www.rpa-robin.ru/ и переместить указатель мыши относительно элемента (кнопки "RPA - платформа для крупного бизнеса и госкомпаний"). Ось X -100, ось Y - 200.  

Image Removed

Решение 

Воспользоваться действиями "Открыть браузер", "Перестить указатель мыши"

Реализация

...

and move the mouse pointer in relation to the element (button "RPA is a platform for large businesses and state-owned companies"). X-axis -100, Y-axis - 200.

Image Added

Solution 

Use the "Open Browser", "Move to element" actions.

Implementation

  1. Assemble a robot scheme with the actions.
    Image Added

  2. Set the "Open Browser" action parameters (see Open Browser Windows, tabs, frames).
    1. "Browser" field. Select a browser for the robot to open.
    2. "URL" field. Specify the URL that will be navigated to when the browser is opened.
      Image Added

  3. Set the "Move to element" action parameters. To create an element use the WebSpy tool (see section Create Web-element).
    1. "Context" field. Specify the open browser context.
    2.  "Element" field. Select a web-element for interaction. To create an element use the WebSpy tool (see section Create Web-element).
    3. "X-axis offset" field. Specify the X-axis offset in relation to the element center.
    4. "Y-axis offset". Specify the Y-axis offset in relation to the element center.
      Image Added
  4. Click "Start" in the top panel.

Result

The program robot completed successfully.

Image Added

 

...

  1. Поле "Контекст". Указать контекст открытого браузера
  2.  Поле "Элемент". Выбрать веб-элемент для взаимодействия. Для создания элемента необходимо воспользоваться WebSpy (см. раздел Создание Web-элементов)
  3. Поле "Смещение по оси X". Указать смещение по оси X относительно центра элемента
  4. Поле "Смещение по оси Y". Указать смещение по оси Y относительно центра элемента
    Image Removed

...

Результат

Программный робот отработал успешно. 

Image Removed