Coded UI - Add new Property to Object in UI Map(Custom properties ) RRS feed

  • Question

  • Can we add new property(Custom Property) to the object which is captured from the Coded UI test builder.

    Eg:From web application we can find custom object property (EX: DeviceID, CategoryID) in DOM, but those custom properties are not available in UI Map Object properties . 

    Tuesday, August 30, 2016 1:11 PM


  • Hi Kasun89,

    According you description, we could implement custom property during the Coded UI test builder. We should implement a UITestPropertyProvider plug-in. A MSDN sample of to create a property provider that allows coded UI tests to access the State property of the chart control’s CurveLegend child controls please refer to the following link:


    And here is a Blog that share us how to get custom properties from a custom WPF control. I think this may be helpful for you:




    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    • Proposed as answer by Oscar_Wu Monday, September 5, 2016 9:05 AM
    • Marked as answer by Oscar_Wu Thursday, September 8, 2016 3:25 AM
    Wednesday, August 31, 2016 6:52 AM