Thanks a lot! Could you please elaborate what do you mean under: "You would want to have a build agent running on the desktop using JNLP as a normal user that runs these tests."
I am new to Jenkins.. On Friday, July 7, 2017 at 2:15:00 PM UTC-4, slide wrote: > > If you are running Jenkins as a service, it can't do stuff that interacts > with the desktop, e.g., Windows forms applications. You would want to have > a build agent running on the desktop using JNLP as a normal user that runs > these tests. > > On Fri, Jul 7, 2017 at 10:40 AM <[email protected] > <javascript:>> wrote: > >> Dear All, >> >> I am running c# Unit Tests through Windows Jenkins and while executing >> tests console output window shows me same error for all the tests: >> >> Error Message: >> Test method Levan_Test threw exception: >> >> System.ComponentModel.Win32Exception: Access is denied >> Stack Trace: >> at System.Windows.Forms.SendKeys.SendInput(Byte[] oldKeyboardState, >> Queue previousEvents) >> at System.Windows.Forms.SendKeys.Send(String keys, Control control, >> Boolean wait) >> at System.Windows.Forms.SendKeys.SendWait(String keys) >> >> >> cs:line 134 >> >> >> >> It looks like there is some problem with permissions or power shell command >> execution. >> >> >> Any tips, advise and recommendations will be much appreciated!! >> >> >> Thanks in advance, >> >> >> Levan >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/674a247d-2bad-4444-bf95-afcbf6da4b77%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/674a247d-2bad-4444-bf95-afcbf6da4b77%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1b4f3d7e-699b-4d79-92ef-92b6997d92c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
