BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Telerik Announces Coded UI Test Support for WPF

Telerik Announces Coded UI Test Support for WPF

This item in japanese

Bookmarks

Telerik has added support for Level 1 coded UI testing for RadControls for WPF in Q3 2012 release. It enables developers to record events, identity elements, perform navigation and validation which is made possible using the recorder dialog which pops up after you create a coded UI test.

"We are planning to add support for Level 2, 3 and 4 coded UI testing with Q1 2013 release so that developers can take advantage of rich property validation, code generation and intent aware actions," said Michael Crump, XAML Advocate at Telerik.

You will be able to find the following elements if you examine the solution explorer of a coded UI test project using Visual Studio 2012.

AssemblyInfo.cs - This file contains general information about an assembly such as Title, Description and Version information.

The project with coded UI testing mechanism will have references to the following assemblies

Microsoft.VisualStudio.QualityTools.CodedUITestFramework
Microsoft.VisualStudio.QualityTools.UnitTestFramework
Microsoft.VisualStudio.TestTools.UITest.Common
Microsoft.VisualStudio.TestTools.UITest.Extension
Microsoft.VisualStudio.TestTools.UITesting
Telerik.WinControls.CodedUI2012

The above libraries can be found inside Common7\IDE\PublicAssemblies directory of your Visual Studio 2012 installation.

CodedUITest1.cs - This file contains the actual CodedUI test class, method invocation, and assertion invocation.

UIMap.uitest - It mainly consists of an XML representation of the UIMap and UIMap.Designer class.

"Coded UI testing does not improve performance of applications," said Michael to a query posted on his official blog.

In addition to coded UI level 1 support for WPF, Telerik also provide support for all four levels for RadControls for WinForms. Moreover, Telerik is also planning to introduce coded UI support for RadControls for Windows 8 as the platform gains maturity over the period of time.

Rate this Article

Adoption
Style

BT