autotest unable to find grid textbox

2 posts, 0 answers
  1. tushar
    tushar avatar
    1 posts
    Member since:
    Sep 2011

    Posted 21 Sep 2011 Link to this post

    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.
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 27 Sep 2011 Link to this post

    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
Back to Top