I am automating a Win32 application using Coded UI under VS 2010.
When using the Inspect Objects tool, I can see the Automation Id for that control. But Coded UI test builder did not expose this property.
How to use that property in the Search configuration.
Thank you for your post.
Since the AutomationId property is not exposed at a Wincontrol(http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.uitesting.wincontrols.wincontrol.aspx)
for Coded UI, if you want to use it, I am afraid that you need to write your own code to extend it to enable Coded UI to recognize it.
You can refer to the following articles about coded UI extension:
More posts on Coded UI Test Extensibility
Enable Coded UI Testing of Your Controls
Amanda Zhu [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?