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

RadTreeViewItem

1 Answer 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Natasha
Top achievements
Rank 1
Natasha asked on 15 Nov 2011, 06:59 PM
Hi,
I need help.
I want record a RadTreeItem selection  but the location of element isn't constant. Can be row 0, 1.....
I tried to change criteria find element  but I only found next option: XamlTag, TagIndex and Uid.
Thanks

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 18 Nov 2011, 11:01 AM
Hello Natasha,
this is a common use case.

You will need to search for the element by using Find Logic that is independent of the DOM structure of the application. Usually the best way is to search by AutomationID.

The approach will depend on how well the application is adjusted for UI automation. Checkout 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
Natasha
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or