This is UltimateRPA Documentation
urpa.AppJavaElement Class Reference
Inheritance diagram for urpa.AppJavaElement:
urpa.AppElement

Public Member Functions

def description (self)
 This method returns the value of the "description" attribute of this App GUI element. More...
 
def text_value (self)
 This method returns the value of the "text" attribute of this App GUI element. More...
 
def actions (self)
 This method returns the value of the "actions" attribute of this App GUI element. More...
 
def icons (self)
 This method returns the value of the "icons" attribute of this App GUI element. More...
 
def states (self)
 This method returns the value of the "states" attribute of this App GUI element. More...
 
- Public Member Functions inherited from urpa.AppElement
def send_mouse_click (self, action=default_mouse_action, position=None)
 This method simulates the mouse action specified in its parameter, on the center of the App GUI element. More...
 
def send_text (self, text, action=default_text_action, kl=default_kl, focus_action=default_focus_action)
 This method simulates text input - over a GUI element - the pressing and releasing of a key sequence, represented by a string in the "text" parameter. More...
 
def send_key (self, text, type=default_key_action, focus_action=default_focus_action)
 This method simulates - over a GUI element - the pressing of a specified key combination. More...
 
def send_message (self, message, wparam, lparam)
 
def post_message (self, message, wparam, lparam)
 
def set_focus (self, focus_action=default_focus_action)
 This method sets the focus on this App GUI element. More...
 
def name (self)
 This method returns the value of the "name" attribute of this App GUI element. More...
 
def value (self)
 This method returns the value of the "value" attribute of this App GUI element. More...
 
def class_name (self)
 This method returns the value of the "class name" attribute of this App GUI element. More...
 
def localized_control_type (self)
 This method returns the value of the "localized control type" attribute of this App GUI element. More...
 
def control_type (self)
 This method returns the value of the "control type" attribute of this App GUI element. More...
 
def bounding_rectangle (self)
 This method returns the absolute coordinates of this GUI element on the desktop in the order left, top, right, bottom. More...
 
def size (self)
 This method returns the size of this App GUI element in the order width, height. More...
 
def access_key (self)
 This method returns the value of the "access key" attribute of this App GUI element. More...
 
def automation_id (self)
 This method returns the value of the "automation ID" attribute of this App GUI element. More...
 
def item_type (self)
 This method returns the value of the "item type" attribute of this App GUI element. More...
 
def toggle_state (self)
 This method returns the value of the "toggle state" attribute of this App GUI element. More...
 
def selected (self)
 This method returns the value of the "selected" attribute of this App GUI element. More...
 
def enabled (self)
 This method returns the value of the "enabled" attribute of this App GUI element. More...
 
def visual_data (self, rect=None, format="bmp")
 This method creates an image from this App GUI element. More...
 
def parent (self)
 This method returns the element parent. More...
 
def find_first (self, condition, timeout=default_timeout)
 This method returns the first GUI element that matches the condition parameter and is located in a GUI element subtree with a root representing this App GUI element. More...
 
def find_all (self, condition, elements=0, timeout=default_timeout)
 This method returns a list of all GUI elements that match the condition parameter and are located in a GUI element subtree with a root representing this App GUI element. More...
 
def find_from_point (self, x, y, condition=None, timeout=default_timeout)
 This method looks for a GUI element matching the condition parameter and located at a virtual point defined by offsetting (via the parameters x, y) the upper left corner of this App GUI element. More...
 
def find_first_right_to (self, condition, timeout=default_timeout, height=50, step=30)
 This method looks for a GUI element matching the condition parameter and located to the right of this GUI element. More...
 
def find_first_left_to (self, condition, timeout=default_timeout, height=50, step=30)
 This method looks for a GUI element matching the condition parameter and located to the left of this GUI element. More...
 
def find_first_down_to (self, condition, timeout=default_timeout, width=50, step=30)
 This method looks for a GUI element matching the condition parameter and located to the bottom of this GUI element. More...
 
def find_first_up_to (self, condition, timeout=default_timeout, width=50, step=30)
 This method looks for a GUI element matching the condition parameter and located above this GUI element. More...
 
def find_first_visual (self, pattern, region=None, timeout=default_timeout, transformations=None)
 This method looks for a visual GUI element (pattern) in a given region and returns it as a VisualElement object. More...
 
def find_all_visual (self, pattern, region=None, elements=0, timeout=default_timeout, transformations=None)
 This method looks for visual GUI elements (patterns) in a given region and returns them as a list of objects VisualElement. More...
 

Member Function Documentation

◆ actions()

def urpa.AppJavaElement.actions (   self)

This method returns the value of the "actions" attribute of this App GUI element.

Returns
Returns a list of strings containing the values of the "actions" attribute of this App GUI element.

◆ description()

def urpa.AppJavaElement.description (   self)

This method returns the value of the "description" attribute of this App GUI element.

Returns
Returns a string containing the value of the "description" attribute of this App GUI element.

◆ icons()

def urpa.AppJavaElement.icons (   self)

This method returns the value of the "icons" attribute of this App GUI element.

Returns
Returns a list of string containing the values of the "icons" attribute of this App GUI element.

◆ states()

def urpa.AppJavaElement.states (   self)

This method returns the value of the "states" attribute of this App GUI element.

Returns
Returns a list of strings containing the values of the "states" attribute of this App GUI element.

◆ text_value()

def urpa.AppJavaElement.text_value (   self)

This method returns the value of the "text" attribute of this App GUI element.

Returns
Returns a string containing the value of the "text" attribute of this App GUI element.

The documentation for this class was generated from the following file: