Application Refresh

Refresh application element tree

Might be required action after application element structure changes after window refresh.

Call Element Action

Call element action

Arguments

Argument Type Default value Description
locatorstrnull
actionstrnull
param locator:target element
param action:name of the element action to call

Click Element

Click element

Arguments

Argument Type Default value Description
locatorContextNode, strnull
indexint0
actionboolTrue
timeoutint10
param target:element to click
param index:target element index if multiple are returned
param action:call click action on element (default), or use coordinates
param timeout:timeout in seconds to find element

Click Push Button

Click element of role `push button`

Arguments

Argument Type Default value Description
button_namestrnull

Click element of role push button

param button_name:
 name of the button to click

Get Element Actions

Get list of possible element actions

Arguments

Argument Type Default value Description
locatorstrnull
param locator:target element

Get Element Text

Get element text

Arguments

Argument Type Default value Description
locatorContextNode, strnull
indexint0
param locator:target element
param index:target element index if multiple are returned

Get Elements

Get matching elements

Arguments

Argument Type Default value Description
locatorstrnull
param locator:elements to get

Highlight Element

Highlight an element

Arguments

Argument Type Default value Description
locatorContextNode, strnull
indexint0
param locator:element to highlight
param index:target element index if multiple are returned

Press Keys

Press multiple keys down simultaneously

Arguments

Argument Type Default value Description
keysnull

See Desktop library documentation for supported keys

param keys:keys to press

Select Menu

Select menu by clicking menu elements

Arguments

Argument Type Default value Description
menustrnull
menuitemstrnull
param menu:name of the menu
param menuitem:name of the menu item

Select Window

Selects Java application window as target for the automation

Arguments

Argument Type Default value Description
titlestrnull
bring_foregroundboolTrue
timeoutint30
param title:application window title
param bring_foreground:
 if application is brought to foreground or not
param timeout:selection timeout

Set Mouse Position

Set mouse position to element center

Arguments

Argument Type Default value Description
elementContextNodenull
param element:target element

Shutdown Jab

Call Java Access Bridge process shutdown

Toggle Drop Down

Toggle dropdown action on element

Arguments

Argument Type Default value Description
locatorstrnull
indexint0
param locator:element locator
param index:target element index if multiple are returned

Type Text

Type text into coordinates defined by locator

Arguments

Argument Type Default value Description
locatorstrnull
textstrnull
indexint0
clearboolFalse
enterboolFalse
param locator:target element
param text:text to write
param index:target element if multiple are returned
param clear:should element be cleared before typing
param enter:should enter key be pressed after typing

Wait Until Element Is Focused

Wait until element is focused

Arguments

Argument Type Default value Description
locatorContextNode, strnull
indexint0
timeoutfloat0.5
param locator:target element
param index:target element index if multiple are returned
param timeout:timeout in seconds to wait, default 0.5 seconds

Wait Until Element Text Contains

Wait until element text contains expected text

Arguments

Argument Type Default value Description
locatorContextNode, strnull
textstrnull
indexint0
timeoutfloat0.5
param locator:target element
param text:element text should contain this
param index:target element index if multiple are returned
param timeout:timeout in seconds to wait, default 0.5 seconds

Wait Until Element Text Equals

Wait until element text equals expected text

Arguments

Argument Type Default value Description
locatorContextNode, strnull
textstrnull
indexint0
timeoutfloat0.5
param locator:target element
param text:element text should match this
param index:target element index if multiple are returned
param timeout:timeout in seconds to wait, default 0.5 seconds