Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

UI processes are starting as backgroud processes on NCrunch Node Machine
rsemenov
#1 Posted : Tuesday, April 14, 2015 8:00:17 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/14/2015(UTC)
Posts: 2
Location: United States of America

Was thanked: 1 time(s) in 1 post(s)
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
Remco
#2 Posted : Tuesday, April 14, 2015 9:48:33 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
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.
rsemenov
#3 Posted : Thursday, April 16, 2015 12:31:46 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/14/2015(UTC)
Posts: 2
Location: United States of America

Was thanked: 1 time(s) in 1 post(s)
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
1 user thanked rsemenov for this useful post.
Remco on 4/16/2015(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.030 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download