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
Contributor

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

My code:

Aliases.Inventor.refresh
Call Aliases.Inventor.MainWindow.MDIClient.Click(Aliases.Inventor.ViewClientArea2.width-25,12)

I want to use a relative coordinate to click a button that can't be spied by testcomplete. But the test failed in another PC.

Addtional info:
The window size is (1464, 842); screen rectangle: the left top corner is (216, 144), the right bottom corner is (1680, 986).
The screen coordinates of the point is (1655, 36).
 
So I don't know how the testcomplete calculate the coordinate?
25 REPLIES 25
Contributor

OK, I will have a try. Thanks a lot.

Highlighted
Member

Have You tried:

Call Aliases.Inventor.MainWindow.MDIClient.Click(Aliases.Inventor.ViewClientArea2.left+Aliases.Inventor.ViewClientArea2.width-25,12)

?

Highlighted
Community Manager

any updates to share @Bingo ?

I see that Pyzdra offered another solution to try if this is still an issue for youSmiley Happy


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Contributor

For virtus detected in China, I'm sorry I'm late to reply you. Thanks all, I found this issue can't appear in our test cases. 

Highlighted
Contributor

Thanks, the issue can't appear now. If it still be there, I'm glad to have a try.

View solution in original post

Highlighted
Community Manager

Glad to here the issue is gone! Smiley Happy

I hope the virus will go away soon. Jiayou!


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

See replies!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors