CPC G06F 9/451 (2018.02) [G05B 13/0265 (2013.01); G06N 3/08 (2013.01); G06N 5/025 (2013.01)] | 20 Claims |
1. 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 target user interface (UI), automatically identify a runtime instance of the target element within a runtime UI exposed by the computer system; and
automatically carry out an operation that reproduces a result of an interaction of a human operator with the runtime instance of the target element, the operation determined according to the RPA script;
wherein the RPA script specifies the target element as being a descendant of a selected node of a UI tree representation of the target UI; and
wherein automatically identifying the runtime instance of the target element comprises:
determining according to the RPA script whether a multiplicity flag is set,
in response, if the multiplicity flag is set, searching for the runtime instance of the target element within descendants of multiple instances of the selected node found within the runtime UI, and
if the multiplicity flag is not set, searching for the runtime instance of the target element within descendants of a single instance of the selected node found within the runtime UI.
|