This project is read-only.

Application being automate is forced to close

Aug 4, 2011 at 8:44 AM
Edited Aug 4, 2011 at 8:46 AM


I am using White to perform automation to Win32 application. I have created test program containing the code to perform the automation to the Win32 application. In that test program, I am using the 'White.Core.Desktop.Instance.Windows().Find' (see code below) method to find the Win32 application instance with window caption of 'Logon Controller'. I am getting myWindow object just find and able to perform automation. However, when I close my test program, it also closes the Win32 application. Is there something I should be doing in order to prevent the Win32 (Logon Controller) application from being force to close when I shutdown my test program?

myWindow = White.Core.Desktop.Instance.Windows().Find(obj => obj.Title.Contains("Logon Controller"));

I am currently using White release

Your help is greatly appreciated.