Mouse action performed.....warning message

Bug reports.
BeardMJ
Posts: 27
Joined: Wed May 31, 2017 8:39 am

Mouse action performed.....warning message

Post by BeardMJ » Mon Sep 18, 2017 11:11 am

Hi Everyone

I upgraded Ranorex to 7.1 and some of my scripts are now giving warning errors I've never seen. The error I'm seeing is:

"The mouse action was performed outside the boundaries of the assigned UI element"

It's simple click actions.

If you need me to upload anything please specify.

Regards

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Mouse action performed.....warning message

Post by Support Team » Tue Sep 19, 2017 2:24 pm

Hello BeardMJ,

Basically, this warning message means that the coordinates specified in the Action Spot field are outside of the corresponding UI element. In this case, the mouse click is performed outside of the UI element (relative to the element).
action_spot.png
action_spot.png (3.96 KiB) Viewed 654 times
I'm not sure if there was a specific reason to specify coordinates outside of the UI element, but this issue can be resolved by changing the Action Spot to Center.
action_spot_center.png
action_spot_center.png (3.07 KiB) Viewed 654 times
As a consequence, the mouse click will be performed in the center of the assigned UI element. I hope this information will help you.

Sincerely,
Johannes
.
Image