Unable to display the grid view elements

3 posts, 0 answers
  1. ankamma
    ankamma avatar
    2 posts
    Member since:
    Jun 2010

    Posted 07 Jul 2010 Link to this post

    Hi
    i am trying to display the gridview elements.i need to print these elements based on the textbox value.it is just like search functionality..
    in this process i am getting this error message

    Failure Information:
    ~~~~~~~~~~~~~~~
    Unable to locate element. Details: Attempting to find [Silverlight] element using
    Find logic
     (Html): [id 'Exact' silverlightControlHost] THEN UNDER NODE FIND [tagIndex 'Exact' object:0]
     (Silverlight): [TextContent 'Exact' LakTestAcc8] AND [XamlTag 'Exact' textblock]

    Unable to locate element. Search failed!

    --------------------------------------------------
    '7/7/2010 5:22:03 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
    --------------------------------------------------
    '7/7/2010 5:22:05 AM' - Overall Result: Fail
    --------------------------------------------------


    this is silverlight page


    Regards:
    AnkammaRao.V
  2. Missing user
    Missing user avatar

    Posted 07 Jul 2010 Link to this post

    Hello ankamma,

    This error looks like in maybe a find problem using the text content for the TextBox with:

    TextContent 'Exact' LakTestAcc8

    Please try changing the Find Param in the Failure Resolution Window as described in the 'How to resolve test step failures' in the Quick Start Guide.

    You can try changing the TextContent find to a partial find as in:

    TextContent 'Contains' TestAcc

    or

    TextContent 'StarsWith' LakTest

    You can also try changing the TextContent for the TextBox to an AutomationId or Name if that TextBox has either of those attributes:

    AutomationId 'Exact'...

    or

    Name 'Exact'...

    Or you can try changing TextContent to TagIndex depending on the TextBox's index relative to other TextBox:

    TagIndex 'Exact'...

    Please see the 'Changing how an Element is found' in the Quick Start Guide for more reference.

    Greetings,
    Nelson Sin
    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
  3. Missing user
    Missing user avatar

    Posted 13 Jul 2010 Link to this post

    Hi again ankamma,

    Just wanted to check back with you on this. I believe a good deal of the tickets submitted by Sonata are Find problems for Silverlight elements on your application.

    Please try editing the Find Params as mentioned in my last post and 'Changing how an Element is found' in the Quick Start Guide.

    For any tickets that have the 'Unable to locate element. Details:...' failure message, please post back in the original tickets if you are still having that particular problem.
     
    All the best,
    Nelson
    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