Element capturing method for Java application program in RPA scene

The invention discloses a method for capturing elements of a Java application program in an RPA scene. According to the method, firstly, a window handle of the position where a mouse is located is obtained through a Win32 user interface, an application type is judged, a UI structure tree is searched...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HU LIUMING, HE KUNJIAN, YANG SHANGLUN, SU KAI, DUAN TINGRUI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method for capturing elements of a Java application program in an RPA scene. According to the method, firstly, a window handle of the position where a mouse is located is obtained through a Win32 user interface, an application type is judged, a UI structure tree is searched for by using a JAB interface for a Java application program, and element information is obtained through reverse-order retrieval by adopting a recursive algorithm. Through current position determination and element area comparison, elements are rapidly filtered. And after the target element is successfully captured, the current element and the information of all parent elements are filled to obtain a completed UI chain, so that the memory overhead is effectively reduced. According to the method, the grabbing action or operation action aiming at the elements can be completed within one second, the efficiency is greatly improved, and experiments prove that the method can realize full-scene coverage and can successfu