Software robots for programmatically controlling computer programs to perform tasks
First Claim
1. A system, comprising:
- at least one hardware processor;
at least one non-transitory computer-readable storage medium storing;
a computer program for controlling multiple application programs to perform a task comprising a first sub-task to be performed by a first application program and a second sub-task to be performed by a second application program; and
processor-executable instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform;
accessing the computer program;
generating an object hierarchy comprising a plurality of objects corresponding to active graphical user interface (GUI) elements of the first and second application programs, the generating comprising;
obtaining a first hierarchical representation of active GUI elements of the first application program from an operating system;
generating, based on the first hierarchical representation of active GUI elements of the first application program, a first portion of the object hierarchy corresponding to active GUI elements of the first application program, the first portion of the object hierarchy comprising a first object corresponding to a first active GUI element of the first application program;
obtaining a second hierarchical representation of active GUI elements of the second application program from a source other than the operating system;
generating, based on the second hierarchical representation of active GUI elements of the second application program, a second portion of the object hierarchy corresponding to the active GUI elements of the second application program, the second portion of the object hierarchy comprising a second object corresponding to a second active GUI element of the second application program, andcombining the first portion of the object hierarchy and the second portion of the object hierarchy;
controlling the first application program to perform the first sub-task using the computer program and the generated object hierarchy at least in part by;
accessing, in the first portion of the object hierarchy, the first object corresponding to the first active GUI element of the first application program, andusing the first object to cause, via the first active GUI element, the first application program to at least partially perform a first action in furtherance of the first sub-task; and
controlling the second application program to perform the second sub-task using the computer program and the generated object hierarchy at least in part by;
accessing, in the second portion of the object hierarchy, the second object corresponding to the second active GUI element of the second application program, andusing the second object to cause, via the second active GUI element, the second application program to at least partially perform a second action in furtherance of the second sub-task.
6 Assignments
0 Petitions
Accused Products
Abstract
A system comprising at least one hardware processor; at least one non-transitory computer-readable storage medium storing processor-executable instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform: generating an object hierarchy comprising a plurality of objects corresponding to active graphical user interface (GUI) elements of a first application program, the generating comprising: obtaining a hierarchical representation of the active GUI elements of the application program; generating an object for each of at least some of the active GUI elements represented in the hierarchical representation; and organizing the generated objects into the object hierarchy based on relationships among active GUI elements represented in the hierarchical representation; and controlling, using software robot computer program and the generated object hierarchy, the first application program to perform the first sub-task.
-
Citations
13 Claims
-
1. A system, comprising:
-
at least one hardware processor; at least one non-transitory computer-readable storage medium storing; a computer program for controlling multiple application programs to perform a task comprising a first sub-task to be performed by a first application program and a second sub-task to be performed by a second application program; and processor-executable instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform; accessing the computer program; generating an object hierarchy comprising a plurality of objects corresponding to active graphical user interface (GUI) elements of the first and second application programs, the generating comprising; obtaining a first hierarchical representation of active GUI elements of the first application program from an operating system; generating, based on the first hierarchical representation of active GUI elements of the first application program, a first portion of the object hierarchy corresponding to active GUI elements of the first application program, the first portion of the object hierarchy comprising a first object corresponding to a first active GUI element of the first application program; obtaining a second hierarchical representation of active GUI elements of the second application program from a source other than the operating system; generating, based on the second hierarchical representation of active GUI elements of the second application program, a second portion of the object hierarchy corresponding to the active GUI elements of the second application program, the second portion of the object hierarchy comprising a second object corresponding to a second active GUI element of the second application program, and combining the first portion of the object hierarchy and the second portion of the object hierarchy; controlling the first application program to perform the first sub-task using the computer program and the generated object hierarchy at least in part by; accessing, in the first portion of the object hierarchy, the first object corresponding to the first active GUI element of the first application program, and using the first object to cause, via the first active GUI element, the first application program to at least partially perform a first action in furtherance of the first sub-task; and controlling the second application program to perform the second sub-task using the computer program and the generated object hierarchy at least in part by; accessing, in the second portion of the object hierarchy, the second object corresponding to the second active GUI element of the second application program, and using the second object to cause, via the second active GUI element, the second application program to at least partially perform a second action in furtherance of the second sub-task.
-
-
2. The system of claim 1, wherein the second application program is an Internet browser program, and wherein the processor-executable instructions further cause the at least one hardware processor to:
obtain the second hierarchical representation via a Document Object Model (DOM) representation of a webpage displayed by the Internet browser program.
-
3. The system of claim 1, wherein the first and second application programs are configured to execute at least in part by using different GUI application libraries.
-
4. The system of claim 1, wherein accessing the first object comprises refreshing the first portion of the object hierarchy and accessing the second object comprises refreshing the second portion of the object hierarchy.
-
5. The system of claim 1, wherein accessing the first object comprises refreshing the object hierarchy.
-
6. A system for controlling multiple application programs to perform a task comprising a first sub-task and a second sub-task, the system comprising:
-
at least one hardware processor; at least one non-transitory computer-readable storage medium storing processor-executable instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform; generating an object hierarchy comprising a plurality of objects corresponding to active graphical user interface (GUI) elements of a first application program and a second application program, the generating comprising; obtaining a first hierarchical representation of active GUI elements of the first application program from an operating system; generating, based on the first hierarchical representation of active GUI elements of the first application program, a first portion of the object hierarchy corresponding to active GUI elements of the first application program, the first portion of the object hierarchy comprising a first object corresponding to a first active GUI element of the first application program; obtaining a second hierarchical representation of active GUI elements of the second application program from a source other than the operating system; generating, based on the second hierarchical representation of active GUI elements of the second application program, a second portion of the object hierarchy corresponding to the active GUI elements of the second application program, the second portion of the object hierarchy comprising a second object corresponding to a second active GUI element of the second application program, and combining the first portion and the second portion; controlling the first application program to perform the first sub-task using the object hierarchy at least in part by; accessing, in the first portion of the object hierarchy, the first object corresponding to the first active GUI element of the first application program, and using the first object to cause, via the first active GUI element, the first application program to at least partially perform a first action in furtherance of the first sub-task; and controlling the second application program to perform the second sub-task using the generated object hierarchy at least in part by; accessing, in the second portion of the object hierarchy, the second object corresponding to the second active GUI element of the second application program, and using the second object to cause, via the second active GUI element, the second application program to at least partially perform a second action in furtherance of the second sub-task.
-
-
7. The system of claim 6, wherein the second application program is an Internet browser program, and wherein the processor-executable instructions further cause the at least one hardware processor to:
obtain the second hierarchical representation via a Document Object Model (DOM) representation of a webpage displayed by the Internet browser program.
-
8. The system of claim 6, wherein accessing the first object comprises refreshing the object hierarchy.
-
9. A method for controlling multiple application programs to perform a task comprising a first sub-task and a second sub-task, the method comprising:
using at least one computer hardware processor to perform; generating an object hierarchy comprising a plurality of objects corresponding to active graphical user interface (GUI) elements of the first and second application programs, the generating comprising; obtaining a first hierarchical representation of active GUI elements of the first application program from an operating system; generating, based on the first hierarchical representation of active GUI elements of the first application program, a first portion of the object hierarchy corresponding to active GUI elements of the first application program, the first portion of the object hierarchy comprising a first object corresponding to a first active GUI element of the first application program; obtaining a second hierarchical representation of active GUI elements of the second application program from a source other than the operating system; generating, based on the second hierarchical representation of active GUI elements of the second application program, a second portion of the object hierarchy corresponding to the active GUI elements of the second application program, the second portion of the object hierarchy comprising a second object corresponding to a second active GUI element of the second application program, and combining the first portion of the object hierarchy and the second portion of the object hierarchy; controlling the first application program to perform the first sub-task using the generated object hierarchy at least in part by; accessing, in the first portion of the object hierarchy, the first object corresponding to the first active GUI element of the first application program, and using the first object to cause, via the first active GUI element, the first application program to at least partially perform a first action in furtherance of the first sub-task; and controlling the second application program to perform the second sub-task using the generated object hierarchy at least in part by; accessing, in the second portion of the object hierarchy, the second object corresponding to the second active GUI element of the second application program, and using the second object to cause, via the second active GUI element, the second application program to at least partially perform a second action in furtherance of the second sub-task.
-
10. The method of claim 9, wherein accessing the first object comprises refreshing the object hierarchy.
-
11. The method of claim 9, wherein accessing the first object comprises refreshing the first portion of the object hierarchy and accessing the second object comprises refreshing the second portion of the object hierarchy.
-
12. The method of claim 9, wherein the second application program is an Internet browser program, and obtaining a second hierarchical representation comprises:
obtaining the second hierarchical representation via a Document Object Model (DOM) representation of a webpage displayed by the Internet browser program.
-
13. The method of claim 9, wherein the first and second application programs are configured to execute at least in part by using different GUI application libraries.
Specification