Ask a Question

Desktop automation-two windows

New Member

Desktop automation-two windows

Hi, I have to automate a desktop application. In the application when I click a button, it will open another instance of the application. Then I close the second instance and continue to work on the first instance. But I am having issues running this test case on test complete. I get the following error:


The window with the handle 0x002d13fa does not exist.

This error occurred when the tested window (or control) or its parent object was deleted or recreated right before the method call. For example, you stored a window reference to a variable and then called a method through this variable.
If the object has been recreated, then to avoid the error, get the new object before the method call.
Champion Level 3

Let's see the part of your code that causes the error.

Showing results for 
Search instead for 
Did you mean: