This is a migrated thread and some comments may be shown as answers.

System.InvalidOperationException: Point (515, 1345) outside bounds of browser window: (0, 162, 1920, 855)

1 Answer 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
lora
Top achievements
Rank 1
lora asked on 24 Jan 2012, 04:52 PM

I'm recording steps within a browser panel, which requires that I scroll during recording in order to enter data into a field. Upon playback, because of this need to scroll, I'm getting an outside bounds of browser window error:

Point (515, 1345) outside bounds of browser window: (0, 162, 1920, 855)InnerException:System.InvalidOperationException: Point (515, 1345) outside bounds of browser window: (0, 162, 1920, 855) at ArtOfTest.WebAii.Silverlight.SilverlightApp.ValidateMouseLocation(Point point) at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType, Point offsetPoint, OffsetReference reference) at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType, Int32 x, Int32 y, OffsetReference reference, ActionPointUnitType unitType) at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType, Int32 x, Int32 y, OffsetReference reference, ActionPointUnitType unitType, Keys modifierKeys) at ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors.SilverlightClickActionDescriptor.Execute(IApplication hostApp) at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost) at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

I don't know how to work around this issue.

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 25 Jan 2012, 08:23 PM
Hello,

Without being able to see the problem first hand, it's hard to say for certain what you need to do to fix this problem. My first guess is you need to add a "Scroll to visible" step for the target element in failing test step. For example, step 15 is trying to click on a button. Record a 'Scroll to visible" as step 14 for this button. How to do this is discussed at the bottom of this page.

All the best,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
lora
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or