How do I use CUITe with a WPF application

Aug 1, 2013 at 9:10 AM
How do I use CUITe with a WPF application
Coordinator
Aug 10, 2013 at 11:59 PM
Hi noeghi,

There are sample integration tests in the CUITe source code.

Specifically, you can look at the code at the project named Sample_CUITeTestProject_WpfControls from the "Source Code" tab.

https://cuite.codeplex.com/SourceControl/latest#Sample_CUITeTestProject_WpfControls/WpfControlTests.cs

Thank you.
Aug 19, 2013 at 4:42 PM
Maybe I just don't get it, but how can looking at samples of recorded tests help me learn to use the ObjectRecorder to may my recorded tests?

The ObjectRecorder seems to only work for web pages (it needs a url).

I see a comment at the bottom of the quick start that says it supports desktop apps now, but I can't seem to figure out how.
Aug 19, 2013 at 7:41 PM

I concur

Coordinator
Aug 24, 2013 at 8:04 PM
Hi noeghi and Vaccano,

The ObjectRecorder does not currently support WPF, only HTML.

The CUITe framework supports WPF and Win32 desktop applications.

You will have to write the object repository class manually.

You can use the built-in Visual Studio Coded UI Test Recorder and then manually "convert" the UI Map to a CUITe object because that is sometimes faster.