Mar 192010

Ben Hall has blogged his use of WiPFlash together with IronRuby to test Windows applications. Thank you, Ben!

The example UI that Ben’s using is WiPFlash’s own. I particularly wanted to provide a pseudo-realistic application, so WiPFlash has a pet shop. It works in memory, with hard-coded data – the idea is just to provide a realistic UI. This has really helped me to learn more about WPF and Prism, and get useful feedback about what I’m doing wrong from people who know better!

A pet shop

I have a couple of additional features I want to add before we move to 0.X releases, then I’ll stabilise the interface and make sure it’s all configurable for 1.0 – so if there’s something missing which you’d need to use WiPFlash on your project, please let me know. I’m trying to keep this really light-weight, so I might say “no”, but I promise to make you feel good for asking!

Feb 252010

I’ve kicked off another open-source project, WiPFlash.

This is a little automation framework with a number of goals:

  • To let me learn how to do .NET UI Automation
  • To fix a couple of things that White doesn’t do yet
  • To automate scenarios as fast as possible
  • To provide examples that anyone else can look at, if you want to do the same thing.

The project is written in C#, and is exclusively focused on WPF Windows GUIs. Currently WiPFlash can:

  • Launch or reuse an existing application or window
  • Enter text in TextBox, RichTextBox, and editable ComboBox
  • Select values and retrieve selection in ListBox or ComboBox
  • Retrieve values from RichTextBox (and its children), TextBox, TextBlock, editable ComboBox
  • Click buttons.

It also provides an example of a Prism application, complete with MVVM paradigm, command binding, dependency injection using Unity, etc.

Please feel free to try it out and add any requests and/or issues, bearing in mind that the purpose of the framework is not to replace White. For instance, I have no plans at this time to support drag-and-drop or mouse and keyboard input, nor am I going to respond to bugs with WiPFlash not working on WinForms, SWT, etc.

If you’re looking for something similar for Java and Swing, check out my other automation framework, Tyburn.