Sahi Pro - Applet APIs

Applet automation is supported since Sahi Pro V4.5

Applets elements are identified by Sahi with _a("appletIdentifier"). prefix.

_applet

Since Sahi Pro: 4.3
Since Sahi OS: NA

_applet($identifier)

Arguments
$identifierstring id of applet object

Details

Returns a handle to the applet object. All child elements of the applet object are accessed from this handle.

_click(_applet("SwingSet2Applet").jbutton("sun_small.gif"))

info_applet is the same as _a
Information on usage can be found here

_a

Since Sahi Pro: 4.5
Since Sahi OS: NA

_a($identifier)

Arguments
$identifierstring id of applet object

Details

Returns a handle to the applet object. All child elements of the applet object are accessed from this handle.

_click(_a("SwingSet2Applet").jbutton("sun_small.gif"))

info_applet is the same as _a
Information on usage can be found here

Applet Accessors


Below is a list of applet APIs and their identifiers

Applet Actions

Sahi Action APIs work on applets too. Just pass in applet accessors instead of DOM accessors

Applet Fetch APIs

Following Sahi APIs work for fetching content from applets.