Coded UI Testing

Coded UI tests simulate a user interacting with the application. These tests rely on an automation API to allow programmatic access to UI elements. For example, an automation object can be used to raise a button’s Tap event.

There are other types of tests as well, including acceptance testing, performance testing, and stress testing. You often use different tools or extensions to your testing framework for these types of tests. Despite some tests not being formally unit tests, it’s fine to use the existing unit testing framework and tools to perform other kinds of testing. The unit testing tools presented in this chapter are a good starting point for many other types of tests.

It is important to partition your tests by test type. ...

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.