Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Is there a Unit Test framework for WPF ?

 
 
Old 04-19-2006   #1 (permalink)
Philippe Lavoie


 
 

Is there a Unit Test framework for WPF ?

Hi

I want to create unit tests of a UI created in WPF. Will the
Windows.Automation work with a WPF application?

Is there a recorder somewhere that I could use to help create unit test
of the UI ?

Thanks

Phil

My System SpecsSystem Spec
Old 04-20-2006   #2 (permalink)
Marcus


 
 

Re: Is there a Unit Test framework for WPF ?

The feature you are looking for is the UI Automation feature of WPF...

This UI Automation replaces the previous accessibility features and
provides the nescessary features to do Unit test as well...

I suggest going to this forum for more details.... as well as digging
on the "UI Automation" keywords...

http://forums.microsoft.com/MSDN/Sho...D=352&SiteID=1

Philippe Lavoie wrote:
> Hi
>
> I want to create unit tests of a UI created in WPF. Will the
> Windows.Automation work with a WPF application?
>
> Is there a recorder somewhere that I could use to help create unit test
> of the UI ?
>
> Thanks
>
> Phil


My System SpecsSystem Spec
Old 07-17-2008   #3 (permalink)


Vista Ultimate 32bit
 
 

Re: Is there a Unit Test framework for WPF ?

Check out NPresent - I created it specifically to allow unit testing of WPF GUIs. Feel free to download it and have a play. When I get the time (hopefully soon) I'll be posting a tutorial, but in the meantime, take a look at the test code and you should get the idea.
My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
can't update .NET Framework 3.5 Service Pack 1 and .NET Framework 3.5(KB951847 Windows Updates
Unit Test Software .NET General
How to unit test a Dataset? .NET General
separate long test from unit tests in vsts .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46