CUITe in windows applications

May 10, 2013 at 1:13 PM
I see lots of documentation that states the latest version of CUITe supports windows applications (or in my case, an excel add in) however, I can't find any tutorials, documentation or videos that show how this is done. Can someone direct me to information on how to accomplish this?
Coordinator
May 14, 2013 at 8:49 AM
Hi gregboudreau,

There is sample code in the source code.

See the "Sample_CUITeTestProject_WinControls" project that runs a couple tests on the Microsoft Windows calculator, calc.exe.
May 17, 2013 at 2:52 PM
Hello icnocop,

Thanks for directing to the source code. I am keen on WPF application which I guess latest version of CUITe supports. But as Greg asked I didnt find any tutorial/ video to explain how to record the WPF application with CUITe.

Could yo u please help ?

thanks
Coordinator
May 17, 2013 at 6:01 PM
Hi centennial_C4,

The CUITe ObjectRecorder does not support recording desktop applications.

I recommend using the built-in Visual Studio Coded UI Test Recorder and then convert the generated code for use with CUITe.

You can see some sample code that the Visual Studio Coded UI Test Recorder generates and how it can be converted into less code using CUITe in questions 1 and 2 of the FAQ.

[http://cuite.codeplex.com/wikipage?title=Frequently Asked Questions](http://cuite.codeplex.com/wikipage?title=Frequently Asked Questions)