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

autotest unable to find grid textbox

1 Answer 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
tushar
Top achievements
Rank 1
tushar asked on 21 Sep 2011, 11:08 PM
i have a silverlight application that uses Telerik controls. one dialog has couple text boxes of the following type:
telerik:RadTabControl Grid

                            <TextBox Grid.Column="1" Grid.Row="0" Width="200" Margin="2,2,20,2" Text="{Binding EditConcept.BusinessEntityName, Mode=TwoWay, ValidatesOnNotifyDataErrors=True, ValidatesOnExceptions=true, NotifyOnValidationError=True}" >



when i try to record in test studio the control is not found on playback. does the developer need to add more details for this control to be found?

I am new to this environment. using windows 7 and IE.

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 27 Sep 2011, 09:08 AM
Hello Tushar,
     it's hard to say why the issue is occurring without some additional details. Here's a video detailing the info we usually need in order to troubleshoot an issue effectively:
http://tv.telerik.com/watch/automated-testing-tools/test-studio-submitting-support-ticket-for-playback-issues

I noticed your XAML code doesn't include an AutomationID for the TextBox control. While I doubt that this is the issue per se, it's still bad practice. It hurt UI Automation reliability considerably. Check out this article:
http://blogs.telerik.com/daniellevy/posts/11-03-01/best_practices_element_identification_with_id_and_automationid.aspx

Best wishes,
Stoich
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
tushar
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or