![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | Hook into running XAML window for unit testing gui ? Hello all, I would like to know how to hook into a running XAML window to unit test the gui/events? Are there some examples on getting the running object, and also invoking events and/or controlling the UI via remote windows calls (a-la NUnitForms) ? Thank you all! Xaml looks great so far! (Jan 06 CTP, about to install Feb06 CTP). |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Hook into running XAML window for unit testing gui ? Peter Fitzgibbons wrote: > I would like to know how to hook into a running XAML window to unit > test the > gui/events? > Are there some examples on getting the running object, and also > invoking > events and/or controlling the UI via remote windows calls (a-la > NUnitForms) ? Have a look at the System.Windows.Automation namespace[1] and this article[2] to get started. HTH, Drew [1] http://windowssdk.msdn.microsoft.com...Automation.asp [2] http://windowssdk.msdn.microsoft.com...d5d998770b.asp ___________________________________ Drew Marsh Chief Software Architect Mimeo.com, Inc. - http://www.mimeo.com Microsoft C# / WPF MVP Weblog - http://blog.hackedbrain.com/ |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| MoveNext() method not covered by unit testing? | .NET General | |||
| "appRoot" Error When Unit Testing in TFS 2008 | .NET General | |||
| Unit Testing - The Merit of Writing Tests First is Questioned | .NET General | |||