CODED UI TEST :-
Many of us know that as we spend time with a particular tool,the more comfortable we become with understanding the ability of tool.We also tend to look for ways to use those tools efficiently to make our work all the easier.
So my this post aims to help us become comfortable with CodedUI and will Demonstrate how to go about creating a basic automated CodedUI test on simple application that was developed .
For the purpose of this post we will create the test project using visual studio 2012 . In test project it allow to record the action ,you can add assertion and also generate code from our interaction with the UI of the application.
Once code is generated for UI flow you can rerun it and test the UI,so this is automated process , Create once and use as many as time you want and minimize test effort.
During this post we will cover the following points :-
- Setup Existing Web Project.
- Add CodedUI Test Project .
- Using CodedUI Test Builder to run through inerface.
- Adding assertions to our test.
- Generate code form recorded test .
- Executing the CodedUI test.

0 comments:
Post a Comment