Teradici PCoIP Protocol

The PCoIP (PC over IP) protocol supports testing on the Teradici Pervasive Computing Platform.

Because only images are passed from the server, the only actions the user can perform are mouse click and key press.

To use the protocol, first install the Teradici client on the computer that runs VuGen. Download and install the Teradici client by clicking here: swclient-windows.

To record a PCoIP test:

  1. Click the Start Recording button.
  2. In the Start Recording dialog, select Windows Application under Recording mode and enter the PCoIP client pathname in the Application field. For example, C:\Program Files (x86)\Teradici\PCoIP Client\bin\pcoip_client.exe. Enter other information as appropriate to your test and click Start Recording.
  3. Follow the directions on the Teradici client screens to connect to the server.
  4. Record your business process from within the client.

Note: A call to Copy image to the clipboard from the snapshot context menu may throw an OpenClipboard Failed exception. In that event, close all open PCoIP clients.

Sample Script

This script enters "Hello World" in an open application.


	pcoip_set_auth("alex-qa", "mydomain", lr_decrypt("56ec1f8a249be574b867f74a72"));

	pcoip_connect("MYD-SERVER", "123.456.789.abc", "MYD-SERVER", "4172", 1);

	pcoip_set_display(980, 556);

	pcoip_key("NUM_LOCK_KEY", 0);

	pcoip_mouse_click(18, 537, LEFT_BUTTON, 0, "snapshot3");

	pcoip_key("ENTER_KEY", 0);

	pcoip_key("h", MODIF_SHIFT);

	pcoip_key("e", 0);

	pcoip_key("l", 0);

	pcoip_key("l", 0);

	pcoip_key("o", 0);

	pcoip_key("w", MODIF_SHIFT);

	pcoip_key("o", 0);

	pcoip_key("r", 0);

	pcoip_key("l", 0);

	pcoip_key("x", 0);

	pcoip_key("BACKSPACE_KEY", 0);
	pcoip_key("d", 0);

	pcoip_key("ENTER_KEY", 0);

	pcoip_key("TAB_KEY", 0);


	return 0;

Back to top