Configuring Citrix XenApp Options

  1. In Silk Performer, expand the Profiles node in the Project tree.
  2. Right-click the profile that you want to configure and choose Edit Profile.
    Tip: Alternatively, you can choose Settings > Active Profile from the menu bar.

    The Profile - [<profile name>] dialog box opens, and the Replay category is displayed in the shortcut list on the left.

  3. In the shortcut list, scroll down to and click the Citrix icon. The General tab opens.
  4. In the Synchronization timeout text box, type a default synchronization timeout in milliseconds that is to be used by all CitrixWaitForXXX functions that do not specify a timeout value. The default value is 60000 ms.
  5. Check Force window position to make the calls to CitrixWaitForWindowCreation and CitrixWaitForWindowRestore move windows to the coordinates captured during recording (enabled by default). When this check box is not checked, both the CitrixWaitForWindowCreation and CitrixWaitForWindowRestore functions provide the parameter bForcePos to enable this option for each individual call.
  6. Check Disconnect on transaction end to disconnect the Citrix client following the end of each transaction, including the TInit transaction (disabled by default).
  7. Check Gracefully disconnect session to perform a log-off when disconnecting from a Citrix XenApp session (enabled by default).
  8. Check Log screen before each user action to capture and write a screenshot at the beginning of each user action (enabled by default). When TrueLog generation is enabled, a screenshot is taken at the end of each synchronization function and written to the TrueLog.

    The CitrixWaitForScreen function captures a screen region and checks it against a specified condition instead of against a hash value that is captured at recording. This file can later be examined or compared to what was captured during recording for error analysis.

    If the function call CitrixWaitForScreen fails and Dump window region on unsuccessful screen synchronization is checked , the captured screen region is written to a file in the result directory. The function call CitrixWaitForScreen may fail, for example, if the condition does not match when the timeout period expires.

  9. Check Use RAM disk to use a different drive for the intermediate storage of images.
    Note: If you check Use RAM disk, you must select the appropriate drive letter of the RAM disk from the list box. TrueLog generation performance improves if the specified drive is a RAM disk.
  10. Select the Simulation tab.
  11. In the Length of time mouse button remains pressed field, type the length of time that the virtual user is to hold the mouse button in the pressed state. The default value is 200 ms. The functions CitrixMouseClick and CitrixMouseDblClick use this value.
  12. In the Length of time between the clicks of a double-click field, type the maximum length of time that can pass between the two clicks of a double-click. The default value is 100 ms. The function CitrixMouseDblClick uses this value.
  13. In the Mouse speed field, type the speed (in pixels per second) at which the mouse is to move across the screen. The default value is 1000 pixels.
  14. In the Length of time each key remains pressed field, type the length of time that the virtual user must hold a keyboard key in the down state. The default value is 50 ms. The functions CitrixKey and CitrixKeyString use this value.
  15. In the Length of time between keystrokes when entering strings field, type the length of time that must pass between the individual keystrokes. The default value is 100 ms. The function CitrixKeyString uses this value.
  16. In the Key repeat time field, type the time required for a complete key stroke when simulating repeat functionality. The default value is 50 ms. A value of 50 ms represents 20 keys per second.
  17. In the Delay after successful synchronization field in the Think times area of the tab, type the length of time that virtual users are to remain inactive after passing a successful synchronization point. The default value is 1000 ms. The function CitrixWaitForXXX uses this value.
  18. In the Delay after each user action field, type the length of time that virtual users remain inactive between actions. The default value is 100 ms.
  19. Click the Citrix client tab to specify Citrix client options.
  20. From the Network protocol drop box, select the low-level network protocol to use for locating and connecting to the Citrix server. For more information, refer to Citrix client documentation.
  21. Check the Use data compression check box to compress all transferred data (enabled by default). This feature reduces file size but requires additional processor resources.
  22. Check the Use disk cache for bitmaps check box to store commonly used graphical objects, such as bitmaps, in a local disk cache (disabled by default).
  23. Check the Queue mouse movements and keystrokes check box to queue mouse and keyboard updates (disabled by default). This feature reduces the number of network packets sent from the Citrix client to the Citrix XenApp server.
  24. From the SpeedScreen latency reduction drop box, select one of the following to enhance user experience on slower network connections:
    • For WANs and other slower connections, select On.
    • For LANs and other faster connections, select Off.
    • To turn latency reduction on and off based on the latency of the connections, select Auto.
  25. From the Encryption level drop box, select a level of encryption for the ICA connection. The Citrix XenApp server must be configured to allow the selected encryption level or higher.
    Note: Using an encryption level other than the server default or Basic disables automatic logon to the Citrix XenApp server.
  26. Click OK to save your settings.