Build/Test Issues

UI processes are starting as backgroud processes on NCrunch Node Machine

Started by rsemenov on 5,087 views

Hello,

We are looking for solution to run WPF functional UI tests on distributed machines. But the problem with NCrunch is that it starts all UI processes as background on Node machines. Are there any workarounds to avoid this? Setting flag "Allow service to interact with desktop" doesn't help. Tests run fine on main machine.

Thank you,
Ruslan
Hi Ruslan,

This may simply be because of the user account that is hosting the grid node service. Does setting the service to run under a local user account make any difference in this? In theory, the launching of a test runner process from the grid node service is the same as launching from the IDE ... any differences are decided by the O/S.

Another option is to try running the grid node server as a console application instead of a service. The server will install with a .EXE called NCrunch.GridNode.Console.exe which can be used to host it directly on the desktop.
Thank you for quick reply. Runing NCrunch.GridNode.Console.exe instead of windows service solved this problem. I tried run Windows Service under different users and that didn't help.

Thank you,
Ruslan

Post a reply

Log in to reply.