The purpose of Code First API Library, Scaffolding & Guidance for Coded UI Tests is to help you write more maintainable Coded UI tests for your web apps. When building Web UI Tests the way that’s proposed here – you aren’t going to be recording test scripts nor building UI Maps. Instead, you’ll be writing Page Objects that are interacting with the elements on the page.
CodedUI CodeFirst contains three major parts which can be used individually or together. When you’re beginning a new project you’ll probably use all these parts while in an existing project you might just pick a part that’s applicable for your current situation.
The three parts are
- Extensions methods for UITestControl to simplify finding of and interaction with HtmlControls. (Reference)
- Page Object pattern guidance and base classes
- TFS Test Case scaffolding
Download it from http://codeduicodefirst.codeplex.com/
Thanks to Christofer Löf for building and publishing this very useful tool.
Please try it out and let us know your feedback.