In this first One on One with Visual Studio conversation, two of Canada's experts on Visual Studio and ALM (application lifecycle management), Etienne Tremblay and Vincent Grondin will be talking to you about how Visual Studio's extensive integrated tools make you more effective and efficient, allowing you to collaborate better with the rest of your project team. They'll show you how testing tools like MS Test, IntelliTrace, and Coded UI make it easier for you to test, and test often, whilen't increasing your workload; about TFS's work item management and it facilitates better communication between you, the testers, project managers, and development managers; Team Foundation Server's version control, lab management, and team build tools and how they can automate many of the manual tasks that you're required to do today; and lastly, about VS Test Professional's Test Manager and Test Runner so that you can do your part in reducing testing efforts and as a resut, faster time to market.
In this session, Etienne and Vincent look at automated functional testing by using assertions and the Coded UI Test Builder. Vincent records the actions he wants to tests, sets the conditions he wants to assert, the Coded UI Test Builders generates the test method, and then Vincent adds the test to the coded UI tests that he runs against the application.
In the video below, Etienne and Vincent use a previously manually recorded test to created an automated coded UI test. Etienne also demonstrates a trick on how to setup environment variables with scripts to ensure that the test runs against the version of the application that matches the environment in which you're testing without the you having to go in and change the code.