Citrix Virtual Desktop
You can use Eggplant Gateway to facilitate Eggplant Functional and Eggplant DAI tests running against applications on a Citrix Virtual Desktop.
Support for Citrix Virtual Desktops is available on Windows only.
Getting Started
Before you can use Eggplant Gateway with Citrix Virtual Desktops, you'll need:
- Access to a Citrix environment
- To download and install the Citrix Workspace App
Eggplant Gateway Citrix connections are now able to support Citrix Workspace versions 23.9 and 22.03 (LTSR).
Set Up Eggplant Gateway for Citrix Environment
To set up Eggplant Gateway for Citrix SUT connection, run the following command in Administrator mode:
./epgw setup citrix
Creating a Connection
To set up a connection to a Citrix Virtual Desktop, run the following command:
./epgw add citrix \
--name <name> \
--storefront <storefront> \
--username <username> \
--password <password> \
--application <application> \
--screenshotInterval <screenshotInterval> \
--screenResolution <screenResolution>
The available options are:
Key | Description |
---|---|
name | The name of the connection you want to create. You can freely choose this name. |
storefront | The URL of the Citrix Storefront. It typically is a URL such as http://{server}/Citrix/{company name} . |
username | The name of the Citrix user. |
password | The password for the Citrix user. |
application | The title of the Citrix application you want to launch, as listed in the Citrix Storefront application. This should be a full desktop environment. |
screenshotInterval | The amount of time, in milliseconds, to wait between two subsequent captures of the Citrix framebuffer. The default value is 400. |
screenResolution | The resolution of at which to initialize the Citrix desktop. The default value is 1600x900 , resulting in a Citrix desktop with a width of 1600 pixels and a height of 900 pixels. |
For example, the following command would create a connection to launch Citrix Virtual Desktop deployed on a Citrix Server:
./epgw add citrix --name test_citrix --storefront https://domain.com/Citrix/CitrixStorefront --username "testuser" --password "testuser123" --application "Windows Server 2019" --screenshotInterval 400 --screenResolution 1600x900
Keysight has tested Eggplant Gateway for Citrix using screen resolutions of 1280x960 and 1600x900, and a screenshot interval of 400. Keysight only supports testing Citrix Desktops with Eggplant using these resolutions and screenshot intervals. Do not use different values, unless instructed to do so by Eggplant support.
Connecting to Eggplant Functional
Follow these steps to log in to your Citrix environment and establish a connection to Eggplant Functional:
- Start Eggplant Functional
- Run
epgw connect <name>
, where <name> is the name of your Gateway connection. For example,epgw connect citrix-desktop
The Eggplant Gateway will now log in to your Citrix environment, establish a connection, and connect to Eggplant Functional.
Setting Up a VNC Server for Your Citrix Application
Alternatively, you can set up a VNC server for your Citrix application. To do so:
- Run
epgw vnc <name>
, where <name> is the name of your Gateway connection.
For example,epgw vnc citrix-desktop
Eggplant Gateway will now log in to your Citrix environment, establish a connection, and start a VNC server at port 5900.
You will need to manually add your device to the connection list in Eggplant Functional.