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

Best Object Identifier for Silverlight

1 Answer 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bryan
Top achievements
Rank 1
Bryan asked on 04 Sep 2014, 01:20 PM
Our development team is about to do a re-write of a Silverlight application which has a lot of drag and drop functionality.
Before they get started I would like to give them guidance as to how they should identify objects consistently to make it easy for the test studio tool to test drag and drop functionality.

My main concern is when there are multiple drag-able objects that could be dropped in a number of similar objects on the screen.

I want to make sure Test Studio is going to be able to identify7 the correct object to drag and the correct destination to drop the object.

Example.
5 Person icons could be dropped in any seat in 2 separate vehicles in any of the seats of those 2 vehicles.

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 09 Sep 2014, 11:20 AM
Hi Bryan,

Thank you for contacting us.

This is general question and it applies to all type of applications. 

The more unique attributes you use in the application the better will be the reliability of the find logic.

For the Silverlight application you should use Automation ID, Name, ID e.t.c. All these should be unique for the each element.

Hope this helps.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Bryan
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or