When I recorded a test with the recorder in Visual Studio 2010 Premium, I noticed that the recorder doesn't generate the code to start the program.
Steps to repro:
- Add a new Coded UI test to a VB .NET testing project
- Click "OK" to use "Record actions, edit UI map or add assertions"
- Click the record button to start recording.
- Press CTRL+F5 in Visual Studio to start your program
- Click the "Generate Code" button.
- Observe that no code is generated as far as running things go.
Considering that starting a program is a rather important part of testing a program, I'm sure there's a solution for this problem.