Freigeben über


Visual Studio Team System 2010: Functional UI Testing

In this 17-minute video, you'll look at a new type of test coming in Visual Studio Team System 2010 known as the coded user interface (UI) test. Coded UI tests can be created to automatically navigate through your application's UI, which in turn can be used to verify that the paths your users might take through your application are working properly. You can also add validation logic along the way to verify the properties of objects within the UI. Much like unit tests can quickly surface regressions on a method or function level, coded UI tests can bring the same level of rapid automated testing capabilities to the UI layer.

See https://channel9.msdn.com/shows/10-4/10-4-Episode-18-Functional-UI-Testing.

Highlights:

  • 01:20 Proposed platform support plan for Visual Studio Team System 2010.
  • 02:25 Demo.
  • 03:00 Adding a coded UI test.
  • 03:45 Using the recorder and generating a method from the recorded steps.
  • 04:50 Using the UI Control Locator and checking a control property.
  • 06:45 Running the test.
  • 10:15 Refactoring the test.
  • 13:50 Connecting to a data source to provide multiple test values.