Sunday, May 26, 2013

Running Selenium WebDriver UI tests from TeamCity

Task is fairly simple but require one tweak.

When you run TeamCity agent as service, you need to allow interaction with user desktop. Keith Dahlby created nice solution to enable this feature for service working under any account which is not Local System.

After this tweak, works like a charm!

Executing scripts remotely from TeamCity using PowerShell

The problem I had to solve seems to be pretty simple on the beginning. Execute couple of deployment scripts on remote Windows 2008 R2 box, to perform deployment of web applications using with custom package manager used in our project.