Forum Discussion

JavaScripter's avatar
JavaScripter
Senior Member
7 years ago

False Process Crash after Using WaitProperty(Exists)

Good morning everyone,

I'm testing a hybrid WPF/VCL application where there's a WPF loading screen followed by a WPF sign on window. Sometimes on a test, I'll encounter an error in the log stating that the process has crashed, despite the loading screen still being in the screenshot, leading us to believe it did not actually crash.

 

Where the test breaks, is on the line where a WaitProperty is being used in this fashion:

 

sign_on_form.WaitProperty("Exists", true, 20000);


It is important to mention that this only happens sometimes when the application is closed and relaunched via TestComplete. Has anyone else ran into a similar issue and found a workaround?

If it helps, I'm using TestComplete/TestExecute 12.1

 

2 Replies