cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Occasional Contributor

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.

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

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

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.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

1 REPLY 1
Highlighted
Community Hero

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

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.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post