Skip to main content

Home/ HealthcareMetadata/ Group items tagged UltraVNC

Rss Feed Group items tagged

Malcolm McRoberts

.net - Jenkins on Windows and GUI Tests without RDC - Stack Overflow - 0 views

  • 1 down vote I have a Jenkins cluster running different kinds of GUI testing, win32, swing, selenium. They are running thousands of tests in unattended manner 24x7
  • The solution so far is install VNC Server (I am using UltraVNC) as service and make sure it is started during log on.
  • Auto logon - there is a tool autologon.exe in SysInternalsSuite, run it on your slave
  • ...5 more annotations...
  • Auto register slave - What you need is Swarm Plugin - https://wiki.jenkins-ci.org/display/JENKINS/Swarm+Plugin . Write a simple batch and place a shortcuts in your startup folder. Everytime your machine autologon, it is automatically registered as slave.
  • I needed to setup a UltraVNC Server
  • RDC creates and destroys desktops. This causes the visual tests to go nuts - their desktops are being wiped and recreated. That method of visual testing will not work when RDC is involved.
  • Since our test machines were VMWare VMs, we connected via the VM Console,
  • autologon.exe <user> <domain> <password> REM Here to make sure the logonCount is properly generated REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0xFFFF /f start /min java -jar I:\CDC\jenkins\swarm-client-1.9-jar-with-dependencies.jar -executors 1 -fsroot c:\Jenkins -labels "Prod Win7 %ComputerName%" -master <Jenkins URL> -name farm-%ComputerName% -username <username> -password <password>
1 - 1 of 1
Showing 20 items per page