How to run automated GUI tests on an ESXi virtual machine without using heads?

I am trying to configure automatic GUI tests in ESXi virtual machines using TestComplete. The problem, as I understand it, is that if a remote desktop connection is not connected to the ESXi virtual machine, then TestComplete cannot capture the screen and, therefore, automate GUI testing. As far as I understand, this is due to the fact that Windows does not create any user interface when no one is viewing it.

I am sure others have experienced this problem. How did you solve it? Are you using a third-party computer that automatically starts remote desktop connections before running tests?

Is it possible to start remote desktop from a virtual machine without a title to another to fake someone?

Any other smart solutions that I haven't thought about?

+5
source share
3 answers

You should be able to log in to Windows on the VM console using the vSphere client and then close vSphere, and Windows will still assume that the user is viewing the console. Just like that. :)

Thus, it should not be necessary to use Remote Desktop in the mix.

As long as your tests run as a Windows user, you should be fine.

Watir, Selenium MS UI, .

/ , vSphere Windows - "control userpasswords2" Sysinternals "":

http://technet.microsoft.com/en-us/sysinternals/bb963905

- , , , , ?

, Jenkins Hudson / . .

+6

Network Suites TestComplete: http://smartbear.com/support/viewarticle/16849/

, "" . , .

RDP , - Windows, "" . RDP, , / .

, , Alex

+1

You can always use VNC with the "Do nothing" option check when disabling the viewer. This way you will fool the windows to create the image.

0
source

All Articles