Contributions
Re: vSpere console Keys() issue
The ESXi web client interface is presenting a screen resolution issue (takes a 1024 x 768 screen and presents us with a 1024 x 767 screen - saves the top row of pixels for restoring the hidden banner) so we tried moving to using VMware Remote Console (VMRC) plugin. In VMRC we discovered the same issue of repeating characters when using the keys() method. We discovered this can be mitigated by either disabling the "repeat key" capability in the host OS using the Windows "Ease of Use" feature, or through a VMware setting (https://kb.vmware.com/s/article/196) which increases the timeout VMware uses to register a keypress on the remote system and sending repeats of that character. I should note that we don't see the repeat keys or have any issues doing this manually. Only when trying to interact with the VM host OS using TestComplete.511Views1like0CommentsRe: vSpere console Keys() issue
As another data point, we used the VMware ESXi web UI to launch the VM console and test into that window, seems to work fine. We'll also try VMware's vmrc as another approach to get a console for a VM. Definitely sounds like an isolated issue between TestComplete and the vSphere client console thus far.2.1KViews1like1CommentRe: vSpere console Keys() issue
We cannot use the vSphere CLI since we're trying to interact with the desktop of the remote machine. This means configuring system settings, installing applications and configuration application settings on the remote machine using the vSphere console to access the desktop. The remote system may not have network connections and allow RDP or other connections via network so we're using the desktop capability of vSphere.2.1KViews0likes0CommentsvSpere console Keys() issue
We're just starting to work with TestComplete 14.0.317.7 and we're having issues using it to automate actions via a vSphere console session. There is no problem opening a local application (ex. Notepad) and using the Keys() method to enter text. But when we launch vSphere console, make it fullscreen, and try to use the Keys() method to enter the username and password it duplicates each keystroke 14 times! ex. MKSEmbedded.Keys("admin") It then enters into the username window of the Windows VM in vsphere console as aaaaaaaaaaaaaaddddddddddddddmmmmmmmmmmmmmmiiiiiiiiiiiiiinnnnnnnnnnnnnn. We already removed the delay between events to 0 and the keystroke delay to 0. And this only happens in the console window. I should add that we follow this by hitting tab to get to the password entry box and it also simulates 14 [tab] key presses. We can't install and run TestComplete on the remote VM and are fully aware that we'll need to use image-based (image recognition) automation for scripting the vSphere console and RDP portions of our tests.2.4KViews0likes10Comments