Re: Unit Testing problem

2017-07-11 Thread levan_taktakishvili
Thanks a lot!! I will look into it. I just want to make it clear I am running Unit Test coded in c#. I am just building and executing test via Jenkins using MSbuild and running vstest.console.exe via windows batch command. On Friday, July 7, 2017 at 5:33:51 PM UTC-4, slide wrote: > > I would s

Re: Unit Testing problem

2017-07-07 Thread Slide
I would start on this wiki page https://wiki.jenkins.io/display/JENKINS/Distributed+builds#Distributedbuilds-LaunchslaveagentviaJavaWebStart . On Fri, Jul 7, 2017 at 2:27 PM wrote: > Thanks a lot! Could you please elaborate what do you mean under: "You > would want to have a build agent running

Re: Unit Testing problem

2017-07-07 Thread levan_taktakishvili
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 s

Re: Unit Testing problem

2017-07-07 Thread Slide
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 wrote: > Dear All, > > I am

Unit Testing problem

2017-07-07 Thread levan_taktakishvili
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.Window