Citrix Actions description

NeoLoad provides a set of ready-to-use Citrix Actions. They are available in the Actions panel.

Connect

This Action opens a new Citrix connection. The established connection is contextual to the User Path and will be used to perform all the other actions.

Parameters

Example

Connection to a CITRIX server:

ConnectICA

This Action opens a new Citrix connection based on an ICA file that can be given as a full or relative path, or from a string that can be a variable. The established connection is contextual to the User Path and will be used to perform all the other actions .

Parameters

Example

Connection to CITRIX server with an ICA File:

Connection with an override of a property:

Connection with an ICA File without StoreFront and variabilization of user name and password:

Disconnect

This Action logs off and disconnects the currently connected user from the Citrix Server.

Parameters

Example

Disconnect from CITRIX server with an ICA File:

KeyType

This Action sends a key with an optional list of modifiers.

Parameters

Example

Type the key "Enter":

MouseClick

Parameters

This Action sends a mouse click or double click, of the specified button and optionally a key modifier.

Parameters

Example

A click at the position 69,191 on the “Calculator” window:

MouseMove

This Action sends a mouse move event and optionally a key modifier.

Parameters

Example

To move the mouse at the position 90,180 on the “Calculator” window:

ScreenshotGet

This Action computes Citrix hash and "toleranceData" of the full screen or a specific region (by filling parameter “windowRect”) or a specific window (by filling parameter “windowName”). Both computed values can either be retrieved on the Action result, or by providing variable names as input parameters.

Parameters

Example

To get the Citrix hash and "toleranceData" of the region [155,81,12,20] in the “Calculator” window:

ScreenshotWait

This Action waits for Citrix hashes screen and optionally tries to match screen with a “toleranceLevel” in full screen or a specific region (by filling parameter “windowRect”) or a specific window (by filling parameter “windowName”) .

Parameters

Example

To wait for the expected Citrix hash or “toleranceData” of the region [152,35,22,11] in the “Calculator” window. It tries every 500 ms at most 60 000 ms.

TextGet

This Action extracts text from a window (by filling parameter “windowName”) OR from a specific region (by filling parameter “windowRect”).

Parameters

Example

To get the text inside the region [155,81,12,20] in the “Calculator” window:

TextType

This Action sends a text with an optional list of modifiers.

Parameters

Example

To type the text "5":

TextWait

This Action waits for text to appear in a window (by filling parameter “windowName”) OR in a specific region (by filling parameter “windowRect”).

Parameters

Example

To wait for the text “25” in the region[167,74,34,27] in the “Calculator” window. It tries every 500 ms at most 60 000 ms.

WindowActivate

This Action activates a window from its title (that can be a regexp).

Parameter

Example

Activate the window named "Calculator":

WindowWait

This Action waits for an event (CREATED, ACTIVATED, DESTROYED) for a window wih a title (that can be a regexp) and optionally in a certain region of the screen.

Parameters

Example

Wait at most 60 000 ms that the window named "Calculator" is activated: