unable to locate silverlight element

2 posts, 0 answers
  1. dileep
    dileep avatar
    9 posts
    Member since:
    Jun 2010

    Posted 22 Jun 2010 Link to this post

    Hello,
    iam getting this problem can any one help me out of this problem


    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' TB122] AND [XamlTag 'Exact' textblock]

    Unable to locate element. Search failed!

    --------------------------------------------------
    '6/22/2010 9:18:56 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
    --------------------------------------------------
    '6/22/2010 9:19:02 AM' - Overall Result: Fail
    --------------------------------------------------

    regards
    Dileep

  2. Missing user
    Missing user avatar

    Posted 22 Jun 2010 Link to this post

    Hi dileep,

    Thanks for the post. The error message looks like it may have something to do with the find:

    TextContent 'Exact' TB122

    Has the text for the TextBlock changed on the page or is dynamic depending on user input for the page?

    Please see the attached screenshot on how to change the find params for the failing test step. You can try changing TextContent to 'Contains' some text for the text block that will be constant through out the test run.

    But just to confirm, I mentioned this in my reply to your other ticket. Is the TextBlock a customized version of the generic Silverlight tool kit TextBlock?

    All the best,
    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
Back to Top