Desktop automation-two windows
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2022
03:06 AM
06-21-2022
03:06 AM
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.
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.
Labels:
- Labels:
-
Desktop Testing
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2022
09:45 AM
06-21-2022
09:45 AM
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
