C
codejunkie
Hi,
I am running a suite of tests of a WIN 32 application. Every test
launches the same application, checks if the Application has a Main
Window handle and then proceeds.
However i am noticing when i run a reasonably large ( 80-90) number of
tests one after the other the Main Window handle API displays
inconsistant behavior.
About 70% of the time my application returns a valid Main WIndow handle
and the rest of the time the value seems to be null. Now, the
inconsistancy here is that the tests that fail due to this issue are
different every time.
Are there any issues that i should be aware of ?
http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.mainwindowhandle.aspx
I am aware that MainWindowHandle will return Null of the process under
test is a Non - UI process but i am testing on a application similar to
word.
Any information will be of help. Thanks!
I am running a suite of tests of a WIN 32 application. Every test
launches the same application, checks if the Application has a Main
Window handle and then proceeds.
However i am noticing when i run a reasonably large ( 80-90) number of
tests one after the other the Main Window handle API displays
inconsistant behavior.
About 70% of the time my application returns a valid Main WIndow handle
and the rest of the time the value seems to be null. Now, the
inconsistancy here is that the tests that fail due to this issue are
different every time.
Are there any issues that i should be aware of ?
http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.mainwindowhandle.aspx
I am aware that MainWindowHandle will return Null of the process under
test is a Non - UI process but i am testing on a application similar to
word.
Any information will be of help. Thanks!