Coded UI Test – Tip of the Day#4 – Refresh the properties of a control in the UI Control Map

When an existing control is selected in the UI Control Map, we display only its search properties. (Only the search properties are persisted in the UITest file). You can click on the “Show all the properties” link at the bottom of the properties screen or click on the Refresh button to see the rest of the properties. This properties are retrieved from the application on the desktop. You need to ensure that the control you selected in currently present on the desktop. A blue highlight is drawn around the control.


Comments (2)

  1. SharpGIS says:

    My custom control does not have this "Show all the properties" link, and it’s not showing any properties that I want to assert (not even the Value property I implemented with IValueProvider on my AutomationPeer – which works because UI Spy can find that).

    How do I get my custom control properties to show up?

  2. Hi,

    What is the ControlType of the custom control and what does the control mimic. Does it mimic a TextBox?



Skip to main content