locked
Custom attributes for searching controls RRS feed

  • Question

  • Is it possible to search for a control based on custom attribute
    Friday, October 25, 2013 11:35 AM

Answers

  • Hi,

    If ‘custom attribute’ means a custom property of a control, moreover the custom property is exposed for CodedUI, then you use this property to search the control. You can drag the crosshair on the control to check if the custom attribute is exposed for CodedUI.

    If the custom property is not exposed for CodedUI, then you need follow this article: Enable Coded UI Testing of Your Controls to make CodedUI recognize your control’s custom property.

    Thanks,


    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 Amanda Zhu Friday, November 1, 2013 1:32 AM
    • Marked as answer by Amanda Zhu Monday, November 4, 2013 1:38 AM
    Monday, October 28, 2013 5:03 AM