I research the Spec Explorer sample UI Testing and I want to know: How do I can generate UIElements.cs file for my tested application or should I write it manually?
The UIElements.cs was generated by Visual Studio 2010's Coded UI Tests. It's only available with VS premium or ultimate version. You can find the reference here: