Robotic Process Automation (RPA) Comprising Automatic Document Scrolling
AssigneeUiPath, Inc.
InventorsIulian MIRCEA, Lev KUSHNIR
Life of this patent
Estimating the term…
Abstract
In some embodiments, a robotic process automation (RPA) robot is configured to search for a target element within a first part of a document currently exposed within a user interface. When the search fails, the robot may automatically actuate a scroll control of the respective UI to cause it to bring another part of the respective document into view. The robot may then continue searching for the RPA target within the newly revealed part of the document. In some embodiments, the robot automatically determines whether the respective document is scrollable, and identifies the scroll control according to a type of target application (e.g., spreadsheet vs. web browser).
Claims21
A method comprising employing at least one hardware processor of a computer system to:
- in response to receiving a robotic process automation (RPA) script indicating a target element of a user interface (UI), perform an attempt to identify a runtime instance of the target element within a runtime instance of the UI, the runtime instance of the UI currently displaying an initial part of an electronic document;
- if the attempt fails, determine whether a UI container currently displaying the initial part of the electronic document is scrollable;
- in response, if the UI container is scrollable, activate a scroll control to cause the runtime instance of the UI to display a subsequent part of the electronic document;
- in response to activating the scroll control, perform another attempt to identify the runtime instance of the target element within the runtime instance of the UI, the runtime instance of the UI currently displaying the subsequent part of the electronic document;
- and
- in response to a successful identification of the runtime instance of the target element, perform an action that reproduces a result of a human operator acting on the runtime instance of the target element.
A computer system comprising at least one hardware processor configured to:
- in response to receiving a robotic process automation (RPA) script indicating a target element of a user interface (UI), perform an attempt to identify a runtime instance of the target element within a runtime instance of the UI, the runtime instance of the UI currently displaying an initial part of an electronic document;
- if the attempt fails, determine whether a UI container currently displaying the initial part of the electronic document is scrollable;
- in response, if the UI container is scrollable, activate a scroll control to cause the runtime instance of the UI to display a subsequent part of the electronic document;
- in response to activating the scroll control, perform another attempt to identify the runtime instance of the target element within the runtime instance of the UI, the runtime instance of the UI currently displaying the subsequent part of the electronic document;
- and
- in response to a successful identification of the runtime instance of the target element, perform an action that reproduces a result of a human operator acting on the runtime instance of the target element.
A non-transitory computer-readable medium storing instructions which, when executed by at least one hardware processor of a computer system, cause the computer system to:
- in response to receiving a robotic process automation (RPA) script indicating a target element of a user interface (UI), perform an attempt to identify a runtime instance of the target element within a runtime instance of the UI, the runtime instance of the UI currently displaying an initial part of an electronic document;
- if the attempt fails, determine whether a UI container currently displaying the initial part of the electronic document is scrollable;
- in response, if the UI container is scrollable, activate a scroll control to cause the runtime instance of the UI to display a subsequent part of the electronic document;
- in response to activating the scroll control, perform another attempt to identify the runtime instance of the target element within the runtime instance of the UI, the runtime instance of the UI currently displaying the subsequent part of the electronic document;
- and
- in response to a successful identification of the runtime instance of the target element, perform an action that reproduces a result of a human operator acting on the runtime instance of the target element.
Dependencies are inferred from the claim text.