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

2 posts, 0 answers
  1. lora
    lora avatar
    8 posts
    Member since:
    Aug 2011

    Posted 24 Jan 2012 Link to this post

    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.

  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 25 Jan 2012 Link to this post

    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
Back to Top