Syed Aslam Basha here. I am a tester on the Information Security Tools Team. I want to share my first hand experience of automating functional test cases using coded UI Test, a feature in visual studio (VS) 2010 in my next coupple of blog posts.
In this blog post I will show an example of recording a scenario where I;
and then of course play it all back using VS 2010. Here goes;
public void CodedUITest1() { // To generate code for this test, select "Generate Code for Coded UI Test" from the shortcut menu and select one of the menu items. this.UIMap.LaunchPortalSite(); this.UIMap.ValidateHomePageLinks(); this.UIMap.ClosePortalSite(); }
-Syed Aslam Basha (syedab@microsoft.com)
Microsoft Information Security Tools (IST) Team
Test Lead