Problem finding Menu control in Playback

2 posts, 0 answers
  1. Declan
    Declan avatar
    1 posts
    Member since:
    Nov 2011

    Posted 14 Nov 2011 Link to this post

    When using SilverLightMenu.Library ( an opensource  menu control for Silverlight) , the recording of  a left-click on the menu appears to work.
    However , on playback the menu item (which is actually a rectangle ) can not be found to be left-clicked in the test .
    If however I hover over the menuitem while playback is running,the item is found and the left-click occurs.
    [CodedStep(@"LeftClick on Item1Rectangle", RequiresSilverlight = true)]
            public void WebTest1_CodedStep2()
              // LeftClick on Item1Rectangle
                Pages.SilverlightApplication.SilverlightApp.Item1Rectangle.User.Click(ArtOfTest.WebAii.Core.MouseClickType.LeftClick, 32, 50, ArtOfTest.Common.OffsetReference.TopLeftCorner, ArtOfTest.Common.ActionPointUnitType.Percentage, ((System.Windows.Forms.Keys)(0)));


     Any idea? Thanks

  2. Anthony
    Anthony avatar
    19 posts

    Posted 16 Nov 2011 Link to this post

    Hello Declan,

    It sounds like you need to record a Mouse Hover step before the step that clicks the menu item. There's also a video of this process on Telerik TV.

    Kind regards,
    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