cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Passing Transactions to VMWare

richard_mcneal
Newcomer

I use the agents to test against Citrix and VMware VDI. The citrix part works fairly well however I am unable to get the commands sent to the VDI session. Example, The script launches and then connects to the virtual desktop. I need it to launch an application on the VDI window. I have tried launchapp, launch with parm and every other example I can find. It launches this app locally to the agent and does not send it in the VM. This makes it very difficult to have reliable results because right now I have to use images or direct click coordinates. Any ideas?

8 REPLIES 8

yuriy_look
Inactive

Hi Richard,

You will need to start the application same way as you do it when you do it manually, say, by double-clicking on the desktop shortcut. Please take into account that VDI window is one control, the Recorder does not have access to any controls inside that window - those controls are on another machine. So, you will need to use images, OCR, keyboard shortcuts, or typing ahead to start the application. Hope this helps.

Thank you,

Yuriy

Windows Key + R to bring up the run box, add the command to the run box to start it?

-- Erik

richard_mcneal
Newcomer

Thanks Erik but that was one of the first things I tried. It opens on agent not VM. Thank you for responding though.

yuriy_look
Inactive

Hi Richard,

You need to put focus on the VDI window. Then you can start using the keyboard. The relations between the OS where you are and VDI could be complex. Try to put a shortcut on the desktop of the system accessed by VDI and start typing its name up until it is selected, then send {Return}. Rehearse it with manual execution first. If you still cannot start the application, please open a support case.

Thank you,

Yuriy

richard_mcneal
Newcomer

I tried that as well. The agent will not focus. I get errors or it just does not work. I had opened a support case before and they were unable to assist. Figured I would see if anyone has had this issue. I am resigned to the fact that this is just how it worked. I will continue to use coordinate clicks, OCR and images until a different system can be found to do what we need. Thank you all for your help though.

@Richard M.

Unsure if the VDI version of VMWare work any differently to the Workstation/ESXi variants, but they need a hotkey pressed for them to 'grab the input' (as they call it).

A mouse click in the window will do it, but may not be reliable, the keyboard short cut is

CTRL+G

and CTRL-ALT to ungrab.


you're unreliable behaviour may be due to the fact VMWare will grab input on ENTER as well (as CTRL+G), so maybe if you were sending keys it would have ignored all of them until an ENTER, then started accepting the remainder, leaving you in an unknown state.

You will have to ensure you grab/ungrab as appropriate, this is something citrix/remote desktop doesn't need they behave more like regular windows.

https://www.vmware.com/support/ws55/doc/ws_learning_keyboard_shortcuts.html is a document for VMWare shortcuts.