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

unable to locate silverlight element

1 Answer 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dileep
Top achievements
Rank 1
dileep asked on 22 Jun 2010, 02:26 PM

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

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 22 Jun 2010, 05:49 PM
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
Tags
General Discussions
Asked by
dileep
Top achievements
Rank 1
Answers by
Missing User
Share this question
or