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.
Solved! Go to Solution.
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.
[Hall of Fame]
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