Coded UI Test Builder Click Start recording to start a new recording session. Click Generate Code to generate code into your ...

Coded UI Test Builder

Click Start recording to start a new recording session. 
Click Generate Code to generate code into your source code file.
To view recorded actions, click Show Recorded Steps.

Or

To show the properties of a control, click the crosshair and drag it 
onto the target UI Control. You can add assertions for each of these
properties.