Home All Groups Group Topic Archive Search About

TreeValidationException using UISpy to walk Office Excel 2003

Author
3 Nov 2006 4:09 AM
JasonMueller
I can't find a forum for WPF questions, so I'm posting here, please direct me
elsewhere if need be.

I am using the UISpy tool to view the hierarchy of Excel 2003 (specifically,
the Chart Wizard dialog).  When I try to browse the elements under the dialog
window in UISpy, the tool logs exceptions (below) and I can't browse into the
elements of the dialog. It seems to work find for Excel 2007.

Please Help.

Exception
Time Stamp : 11/2/2006 9:56 PM
Element : "" "Chart Wizard - Step 1 of 4 - Chart Type"
Name : TreeValidationException
Message : UI Automation tree navigation is broken. The parent of one of the
descendants exist but the descendant is not the child of the parent
Stack Trace :    at UISpy.Base.Tree.BuildTree(AutomationElement element)
   at UISpy.Base.Tree.BuildRelatedTrees(Node existingNode)

Thanks!

-jason

AddThis Social Bookmark Button