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

Unable to display the grid view elements

2 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ankamma
Top achievements
Rank 1
ankamma asked on 07 Jul 2010, 11:29 AM
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 Answers, 1 is accepted

Sort by
0
Missing User
answered on 07 Jul 2010, 07:43 PM
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
0
Missing User
answered on 13 Jul 2010, 04:16 PM
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
Tags
General Discussions
Asked by
ankamma
Top achievements
Rank 1
Answers by
Missing User
Share this question
or