Ask a Question

Desktop automation-two windows

divyafrancis
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.
1 REPLY 1
Marsha_R
Community Hero

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


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: