Hi all, my experience with automating stuff that has a UI through CC.Net is that it is working best if you use the console runner. Someone suggested using "psexec.exe -i 0" to get it running in the service but i wasn't able to try that yet (problem on customers site).
regards, Daniel Ruben Willems writes: > Hi > > > Now my knowledge stops :-( > Probably there is a check somewhere in Outlook that really checks for a > 'user' > so running it from a service fails. > > Maybe you can find something through Google or such, > > with kind regards > Ruben Willems > > > On Mon, Oct 13, 2008 at 12:10 PM, UnKnoWn <antispam.pw > <http://antispam.pw>@gmail.com <http://gmail.com>> wrote: > > > Hey Rubin, > > We are using the Windows Server 2003 (Standard 64 BIT Edition) . No we > havent started an instance of outlook manually.The UI test will start > the outlook instance ,clicks some buttons ,asserts for the presence of > some windows and exits outlook which closes the outlook process. > > When we run this same test when the ccnet console is running the tests > run properly and the each test open and instance of outlook. > > Now when the same is run when the ccnet service is running a process > "OUTLOOK *32 .exe " is seen in the task manager but the outlook GUI is > not seen and the tests fail and we have to manually kill the outlook > process after that. > > Ive even tried creating a custom windows service that starts the > ccnet console but the same problem happens as mentioned above. > > Even enabling the the interact with desktop option does not help. > > Is there any other way of getting the outlook GUI to load using the > ccnet service ? and any other suggestions that I could try ? > > Thanks > > > > > > Ruben Willems wrote: > > Hi > > > > have you started outlook on that machine already? > > Maybe it is asking for a confirmation or something. > > Like a mailbox setting or whatever. > > > > > > wiht kind regards > > Ruben Willems > > > > > > > > On Mon, Oct 13, 2008 at 9:59 AM, UnKnoWn <antispam.pw > <http://antispam.pw>@gmail.com <http://gmail.com>> wrote: > > > > > > > > Hi Ruben, > > > I did try tht and the same thing happened ,the GUI of outlook > does not > > > get loaded.(process shows up in task manager but) > > > > > > On Oct 13, 12:30 pm, "Ruben Willems" <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > > Hi > > > > > > > > You can try to set the the ccnet service to allow interaction > with the > > > > desktop. > > > > It's a check box in the log on tab of the ccnet service. > > > > > > > > Hope this helps ... > > > > > > > > with kind regards > > > > Ruben Willems > > > > > > > > > > > > > > > > On Mon, Oct 13, 2008 at 6:25 AM, UnKnoWn > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > > > > > > > > Hi, > > > > > There is a problem I am facing trying to integrate my UI > Automation > > > > > tests with cruise control. > > > > > > > > > The tests basically opens an instance of outlook and runs a > couple of > > > > > tests ( eg:searches for specific windows,clicks buttons > etc).The tests > > > > > are run using NUnit.Now I have integrated these tests in the > cruise > > > > > control. > > > > > > > > > The problem faced here is that when the cruise control is > running > > > > > through ccnet windows service and I run my tests no GUI of > outlook > > > > > opens ,only a process is seen in the tasks manager .Hence > since the > > > > > tests looks for various outlook windows and forms it fails. > > > > > > > > > Now if I run the same tests when cruise control is running > through > > > > > ccnet console.exe the tests run perfectly and even the > outlook GUI > > > > > opens without any problem on the server. > > > > > > > > > I would like to know that, is there a way to run the UI > Automation > > > > > tests when cruise control is running through the ccnet windows > > > > > service?? > > > > > > > > > Awaiting for a reply > > > > > > > > > Thanks.- Hide quoted text - > > > > > > > > - Show quoted text - > > > > >
