Unable to spy objects. It throws error message
Hi I am unable to spy object when I open my application using chrome/edge browser. Below is the error:
The window with the handle 0x00000000 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.