Forum Discussion

Test56's avatar
Test56
Contributor
13 years ago

DblClickItem fails after doing the action

Hello,



I was trying to execute one script where i need to do a double click on a tree.The application behaviour is whenever we do a double click on the tree item the whole window (where tree exists) gets closed and some new window opens up. When i tried to run the script , it did the double click but log is showing a fail status with below mentioned status.:



"The window with the handle 0x00222190 does not exist.

Most likely, this error occurred because the tested object (window or control) or its parent object was deleted or recreated during the method call or before it. For instance, the window could be destroyed or recreated after you stored the object reference to a variable and before you called the object method through this variable.

If the object is recreated, then to avoid the error, check the object's Exists property before calling the method, and if the object does not exist, obtain a reference to the new object."



Tree class : SysTreeView32

TC version : 8.2



Please let me know if we can do anything about this.