Forum Discussion
sunireddy2007
11 years agoOccasional Contributor
Hi,
I also keep getting this same error for several of my web page objects. But I noticed a pattern. On my web page there list of items and each item is a DIV. Each DIV contains few labels, links, icons etc. I have my VBScript function search for the particular DIV (item from the list). When trying to click a link inside that DIV, I get this error "The window with the handle 0x00000000 does not exist." it works sometimes but most of the times it thros this error. I tried to check if the object exists and it does exist. I also tried calling the Refesh method and still doesnt work. What could be the issue? Please help!!
Here is the full error message. And yes it works when I test manually.
The window with the handle 0x00000000 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.
Sunitha Reddy.
I also keep getting this same error for several of my web page objects. But I noticed a pattern. On my web page there list of items and each item is a DIV. Each DIV contains few labels, links, icons etc. I have my VBScript function search for the particular DIV (item from the list). When trying to click a link inside that DIV, I get this error "The window with the handle 0x00000000 does not exist." it works sometimes but most of the times it thros this error. I tried to check if the object exists and it does exist. I also tried calling the Refesh method and still doesnt work. What could be the issue? Please help!!
Here is the full error message. And yes it works when I test manually.
The window with the handle 0x00000000 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.
Sunitha Reddy.
Related Content
- 7 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago