Tuesday, February 16, 2010

UISpy - the tool you must know

You dont have to use QTP's built in object spy on WPF controls

Now how good does that sound like ?
If you ever given QTP a chance with your WPF AUT, i bet it does.
Anyway, there's this wonderful tool that is based on MS's UIAutomation framework (this is the framework QTP's WPF support is built upon). What it does is actually quite similiar to the good ol' object spy, just that it actually works on WPF controls and showing you the entire application hierarchy (QTP 9.2's object spy stops at the moment it recognizes one control that isn't a window, though i think there might be a hotfix for that).

You can find further documentation on this msdn page (notice comments about it being mistakenly removed from the Windows SDK 6.0A, but it's back if you have windows 7 and you can download it separately anyway)

Enjoy

1 comments:

Aditya Kalra (Ady) said...

Hi Nimrod,

Definitely a nice share for the Testing community!

This surely makes it a candidate on my blog which has the best articles and posts across the web.

Do mail me at aditya_kalra@ymail.com and let me know if it is fine i add this to my blog.

My blog: http://go-gaga-over-testing.blogspot.com/

Best Regards,
Aditya Kalra

Post a Comment