I'm very new to this tool, but I scanned the forums and couldn’t find an answer to my problem.
I am trying to test an application that has a lot of screen latency (a Citrix published application). Excel tasks such as moving cell to cell or sheet to sheet take a longer than they would if you were running Excel locally or on a connection with low latency.
I've created a script (used recorder) that automatically performs many repetitive tasks in the Citrix published Excel such as using the arrow keys to navigate in Excel, switching between sheets in a workbook etc.
Send, test{ENTER}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}test{DOWN}{DOWN}
The script works fine if there is no network latency between the lab PC and the hosted Citrix application, but because it can take 300ms for a key press to make a round trip in high latency situations, the script fails. The script is just sending one key press after another without waiting to see if the cursor actually moved in Excel.
I understand that I can add my own delays between the key presses, but my goal is to record the total time it takes the script to run during different latency situations. For this reason, I want the script to wait for one key press to "move the cursor" in excel before sending the next one.
Does anyone know if a way to do this? It seems that there may be specialized vendors for this type of thing (
http://www.tevron.com/citratest.asp), but wanted to know if AutoHotkey can solve the problem.