Citrix Vuser scripts emulate Citrix ICA protocol communication between a Citrix client and server. VuGen records all activity during the communication and creates a Vuser script.
Before you can create scripts for the Citrix protocol, you must set up and configure your Citrix environment to work with LoadRunner.
After the system is properly configured, VuGen generates Citrix functions when you perform actions on the remote server. Each function begins with a ctrx prefix. These functions emulate the analog movements of the mouse and keyboard. For example:
ctrx_mouse_click(44, 318, LEFT_BUTTON, 0, CTRX_LAST);
In addition, you can use other ctrx functions to synchronize the replay of the actions, by waiting for specific windows to open.
VuGen also allows you to record a Citrix Web interface session. In this case, the Citrix client is installed, but your interface is a browser instead of a client interface. To record Citrix Web interface sessions, you must perform a multi-protocol recording for Citrix and Web Vusers. In multi-protocol mode, VuGen generates functions from both Citrix and Web protocols during recording.
- For more information about the syntax and parameters, see the Function Reference.