cancel
Showing results for 
Search instead for 
Did you mean: 

TestComplete error about being 'transparent or out of the window bounds'.

SOLVED
Highlighted
Occasional Contributor

TestComplete error about being 'transparent or out of the window bounds'.

I have a dummy test (clicking on application objects) that would run yesterday, but not today. The application has not changed.

The error is 'There was an attempt to perform an action at point (84, 18) which is transparent or out of the window bounds.'

I'm not so much worried about the inconsistency as I am finding out how to eliminate the error. I would appreciate if anyone has a suggested solution or any ideas.

 

Tks.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: TestComplete error about being 'transparent or out of the window bounds'.

The two parameters in your click action (84,18) refer to coordinates of the object, and it sounds like the object size has changed.

 

In general, unless there is a specific need you should set those to -1. This will always click the center of the object regardless of the size.


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
7 REPLIES 7
Community Hero

Re: TestComplete error about being 'transparent or out of the window bounds'.

The two parameters in your click action (84,18) refer to coordinates of the object, and it sounds like the object size has changed.

 

In general, unless there is a specific need you should set those to -1. This will always click the center of the object regardless of the size.


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
Occasional Contributor

Re: TestComplete error about being 'transparent or out of the window bounds'.

Thanks for the reply, it's nice to know that I can safely change those in most cases.

Occasional Visitor

Re: TestComplete error about being 'transparent or out of the window bounds'.

Hi,

 

I tried this but it's not working and I cannot use scroll option as the webpage does not have the scroll bar. can you please suggest what to do.

 

Thanks,

Occasional Visitor

Re: TestComplete error about being 'transparent or out of the window bounds'.

Where can i set this value (-1)?

Community Hero

Re: TestComplete error about being 'transparent or out of the window bounds'.

When you edit the action in your keyword test, you should have the option of changing the parameters.  Set the values there.


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
Extensions available
Community Hero

Re: TestComplete error about being 'transparent or out of the window bounds'.

Note, also, setting that value is not a guarenteed solution.  It is entirely possible that the co-ordinates are correct but, because of some sort of timing situation (it takes a few seconds for a component to appear on screen), that error could be generated.  I've seen this happen when there are web components that exist but are "hidden" in an application.  They are there so TestComplete attempts to click on it, generating the error.  You may need to put additional code (WaitChild, WaitProperty, etc) in place to ensure that the application is ready for the action before the action is performed.


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
Extensions available
Super Contributor

Re: TestComplete error about being 'transparent or out of the window bounds'.

I was experiencing this error when not using coordinates at all. I refered to the alias in a script. I had not previously been receiving an error. It MAY have been related to updating to TC 14 though I have not done enough testing to confirm. In any event, I was able to resolve this by checking Ignore Overlapping Window in the project's playback properties. I had observed that prioir to the error, I was seing a waiting for overlapping window message in the indicator despite the fact that there was none. I don't love the solution. But it gets me by.

New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors