Forum Discussion

Tejaswi's avatar
Tejaswi
Occasional Contributor
6 years ago

There was an attempt to perform an action on zero sized window

I'm using TestComplete 14.10. I'm getting "there was an attempt to perform an action on zero sized window" when the testcomplete is trying to click on the dropdown in scripting(recorded). I delay of 10 sec for each test step and checked namemapping too. But still couldn't resolve the issue. Please help me on this.

  • That error happens when the object that you're trying to click on has zero dimensions.  The item you're calling the "click" method on has not been fully resolved and rendered.  So, either one of two things.  Either you're not waiting long enough for the object to render.  Or you are calling the click method on some underlying object that does not have dimensions.

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    That error happens when the object that you're trying to click on has zero dimensions.  The item you're calling the "click" method on has not been fully resolved and rendered.  So, either one of two things.  Either you're not waiting long enough for the object to render.  Or you are calling the click method on some underlying object that does not have dimensions.