1

I am working on a performance test of Citrix application using Load Runner and Citrix Protocol.

I need to wait for a window to appear, and reading the documentation I see I can use one of those:

But reading their documentation, I don't clearly understand the difference except for the time factor and which one I should use.

I tried each of them, and they are working for me, but I don't know which one is the best.

First Option:

ctrx_sync_on_window("Notepad", ACTIVE, 0, 0, 801, 601, "snapshotXX", CTRX_LAST);

Second Option:

// Wait 5 seconds for Notepad popup to appear
ctrx_win_exist("Notepad",5)
Yution Lio
  • 224
  • 2
  • 14

1 Answers1

2

ctrx_win_exist is mostly used, when there is a time frame needed until a windows appears/becomes active; ctrx_sync_on_window is part of the synchronization options, such as bitmap sync. It will make sure the windows is located on a specified position.

Usually it depends on the script which one is better to be used

Buzzy
  • 2,905
  • 3
  • 22
  • 31
  • thanks for your help. Do you by any chance know the answer to https://stackoverflow.com/questions/53452576/citrix-what-is-the-difference-between-outputmodes ? Thanks – Yution Lio Jan 29 '19 at 20:13
  • I don't know anything about Citrix :). I work in the LoadRunner group. – Buzzy Jan 30 '19 at 06:37
  • Ok, thanks. I thought that as your were answering question on Citrix protocol of Load Runner, you would know the answer to this question. – Yution Lio Jan 30 '19 at 16:31