Element shows as outside visible desktop
Posted: Wed Mar 22, 2017 9:49 pm
Good afternoon.
OS: Windows Server 2012 R2 x64
Ranorex: 6.1.0
I'm having an issue with Ranorex Studio where tracking of an element works when running the module itself, but when the module is used in a test case, it throws the following error:
Failed to move to location 'Center' within element '{ListItem:Deny}'.
The pointer cannot be moved to point '{X=-1073741825,Y=-1073741825}' since it is outside of the visible desktop. The list item it's trying to click is on a modal window that pops up on the screen after clicking another link.
This module is a slightly modified version of two other modules that have no issue with this selection (the main difference between the two is that they point at different items in the list).
Here's the code for the action:
OS: Windows Server 2012 R2 x64
Ranorex: 6.1.0
I'm having an issue with Ranorex Studio where tracking of an element works when running the module itself, but when the module is used in a test case, it throws the following error:
Failed to move to location 'Center' within element '{ListItem:Deny}'.
The pointer cannot be moved to point '{X=-1073741825,Y=-1073741825}' since it is outside of the visible desktop. The list item it's trying to click is on a modal window that pops up on the screen after clicking another link.
This module is a slightly modified version of two other modules that have no issue with this selection (the main difference between the two is that they point at different items in the list).
Here's the code for the action:
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'Modal_Windows.Approval_Setting.Approval_Setting.List.Deny' at Center.", repo.Modal_Windows.Approval_Setting.Approval_Setting.List.DenyInfo, new RecordItemIndex(5)); repo.Modal_Windows.Approval_Setting.Approval_Setting.List.Deny.Click(); Delay.Milliseconds(200);I attached a snapshot of the modal window. Let me know if I also need to upload a snapshot of the window where this window is opened from.