Dear Team,
The matter is that, we've developed an WPF application on MVVM design pattern using prism. Our entire application has been developed .We needed to create the Test Automation framework for which we need to set a unique, permanent and stable property value as identifier for all the objects (overall static and dynamic objects) so that the Automation framework doesn't brake over time in long run.
Now, we don't want to use the default "Name" dependency property as object's unique identifier. So, we looked up to initialize cum bind the required "AutmationProperties.AutomationID" from XAML which is general in such automation scenarios. But, turns out that SmartBear's "Test Complete", test automation tool allowed to be used, is not able to locate any property with this name at all which we can configure as unique id.
Finally, I found a dependency property "Uid" in place of "AutmationProperties.AutomationID" to serve the purpose which the tool is able to locate.
Would you be kind enough to advise if we are in right direction!What options do we have to effectively populate this property for each and every object in all the Views that we have other than from XAML as we have near around 50-60 Screens.
If it proves any help, I am using VS 2013 Ultimate Edition.