I am using WebAii 2.0 for automating silverlight 3 application.
I need to get all the types in a control through Find . Also it should recursively check the children aslo.
I tried the below but i got nothing
<FrameworkElement> elmnts = grid.Find.AllByType<FrameworkElement>();
I neded this if i am automating any customUserControl which was developed by someone else and i dont know anything about the controls used in that.
So i need to know all the elements in that control.
Also can you suggest some tools to see the visual tree like UISpy.