cancel
Showing results for 
Search instead for 
Did you mean: 

There was an attempt to perform an action at point (1439, -108), which is out of the window bounds.

SOLVED
Highlighted
Community Manager

Re: There was an attempt to perform an action at point (1439, -108), which is out of the window boun

Thanks a lot Alex! 

Hi @Bingo , did you solve the issue? How did the debugging go? Please let us know. 


Sonya Mihaljova
Community and Education Specialist

 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!
Highlighted
Contributor

Re: There was an attempt to perform an action at point (1439, -108), which is out of the window boun

Hi @sonya_m @AlexKaras , I have summit the code to git for test server, maybe need some days it will have new result and I will have a look. If making new process, I will share. Thanks!

Highlighted
Contributor

Re: There was an attempt to perform an action at point (1439, -108), which is out of the window boun

Refreshmappinginfo method can' t solve this issue. Actually, it's random question in my test case. Appeared on running project and not appear on running single case.  Like the picture, Capture.JPGCapture1.JPG

So I don't know the testcomplete how to calculate the coordinate. Now I will cancel the unstable this case.

Thanks!

Highlighted
Community Manager

Re: There was an attempt to perform an action at point (1439, -108), which is out of the window boun

Hi @Bingo,

One more thing to check - do you have the DPI settings set to 100% on your computer?

Also, this article contains possible cases of the error you get. Please go through them one more time.

---------
Tanya Gorbunova
SmartBear Community Manager

 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!
Highlighted
Contributor

Re: There was an attempt to perform an action at point (1439, -108), which is out of the window boun

Yeah, the DPI setting is 100% and the help doc I can't find any ways to solve this random issue. Thanks!

Highlighted
Contributor

Re: There was an attempt to perform an action at point (1439, -108), which is out of the window boun

What if tested object be fullscreen? Could your tested application be fullscreen? 

Highlighted
Contributor

Re: There was an attempt to perform an action at point (1439, -108), which is out of the window boun

It don't need be fullscreen because the test object is under the app that is fullscreen.

Highlighted
Community Hero

Re: There was an attempt to perform an action at point (1439, -108), which is out of the window boun

Hi,

 

It don't need be fullscreen because the test object is under the app that is fullscreen.

Could you clarify this?

Does this mean that your test is working with two tested applications and the problem (randomly) occurs when the second application is behind the currently active first one and test code tries to click the object of the second application?

If this is the case, what if you try to activate your second application before interacting with it? Like:

Call Aliases.Inventor.MainWindow.Activate()

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Highlighted
Contributor

Re: There was an attempt to perform an action at point (1439, -108), which is out of the window boun

Oh, it's a work window like PS work area. They are belong to the same windows client.

Highlighted
Community Hero

Re: There was an attempt to perform an action at point (1439, -108), which is out of the window boun

it's a work window like PS work area.

What if you try to activate it before use:

Call Call Aliases.Inventor.MainWindow.MDIClient.Activate()

 

Idea behind the suggestion: you might got an error that the window cannot be activated if there is some case with the window itself, but not with the target control and its coordinates.

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================