I am trying to write a Ranorex Test case to click on an icon after scrolling the vertical scrollbar. Scrolling is happening correctly and the icon becomes visible. But instead of clicking on the coordinates returned by my applet, Ranorex tries to click on some other coordinate and the test case fails.
OS : Windows 7 Professional
Ranorex Version : 4.0.3
Error :
Failed to move to location '29;609' within element '{JavaApplet:com.egain.platform.client.widget.plugin.tree.Tree}'.
The pointer cannot be moved to point '{X=34,Y=770}' since it is outside of the visible desktop.
Here 29;609 is the actual position Ranorex should have clicked. But it tries to click 34,770 I believe and hence my test case fails.
Code: Select all
adminTreePlugin.Click(coord);
Attaching application screen shot. Ranorex is trying to click on the Service node icon after scrolling vertical scrollbar.
Why is Ranorex trying to click on different coordinates and how can I make it click on the correct one?