Back to list
Views:   0
Replies:  0
Reply 1
I would recommend you to try an use an existing framework (if possible) instead. Take a look at project White. Even if it doesn't meet all of your requirements you might find it useful to check out its source code.

The project is located here:

Some of its features include...
 * Automates Win32, WinForm, WPF and SWT applications
 * Hides the complexity of window messages and Microsoft UIAutomation library under object based API * Consistent API for all kinds of application
 * Use any .NET language
Robert Blixt, Mar 08, 2011
Reply 2

maybe a bit off topic but why do you want to write your own TA framework? There are tools which handle this for you, for example VS 2010 has its tests which can be then, after compiling, ran by MSTest command line utility. Or there are others, like QTP, Quality Center and so on.

Developing your own framework would be reasonable when you have your custom APIs for UI / SDK automation, as in my case. We developed our own tool, because the product has it's own UI API. This tool can handle multiple formats and is extensible via plugins (e.g. MEF would do the job here).

You also have to think about how to parametrize tests, how to log and store results, how to play scripts back etc.


Robert Varga, Mar 03, 2011
Reply 3
Hi there

I know that the NUnit test framework uses the Composite Pattern.

Good luck with the framework :-)

Hans-Petter Eitvet
Hans-Petter Eitvet, Feb 20, 2011
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas