Example: ctrx_sync_on_window

In the following example, the test run waits for the ICA Administrator toolbar to become active.

ctrx_set_connect_opt(NETWORK_PROTOCOL, "TCP/IP + HTTP");
ctrx_connect_server("plato", "test", lr_decrypt("3de476be2c6b6455"), "plato");
ctrx_wait_for_event("LOGON");
ctrx_sync_on_window("ICA Administrator Toolbar", ACTIVATE, 768, 0, 33, 573, "129c54d64c9679ea1a0cb8bb02c2a981", CTRX_LAST );
ctrx_sync_on_window("2_233_205_344", CREATE, 2, 233, 205, 344, "060460d39afede68e26c5a8437a94a83", CTRX_LAST );