Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Is there a Unit Test framework for WPF ?

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 04-19-2006   #1 (permalink)
Philippe Lavoie
Guest


 

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
Guest


 

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)
Newbie


Join Date: Jul 2008
Vista Ultimate 32bit
 
Rep Power: 2
duncan_bayne is on a distinguished road
  duncan_bayne is offline

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
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unit Test Software ReneMarxis .NET General 2 08-19-2008 08:17 AM
How to unit test a Dataset? RBScheer .NET General 0 07-13-2008 02:04 PM
Creating Unit Test for Function which uses recursive dispatcher Mike D Avalon 0 04-09-2008 03:42 AM
separate long test from unit tests in vsts yacrumb .NET General 0 03-03-2008 03:37 AM
ANN: Bricksoft IM(MSN) SDK For .NET Framework/.NET Compact Framework v1.2 released Jianmin Wu Live Messenger 0 01-02-2008 02:24 AM


Vistax64.com 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 2005-2008

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 47 48 49 50 51