Micro Focus QTP (UFT) Forums
Not able to recognize WPF Objects - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Not able to recognize WPF Objects (/Thread-Not-able-to-recognize-WPF-Objects)



Not able to recognize WPF Objects - sanket.p - 03-20-2010

I am using QTP 9.5 and it is able to indentify WpfTreeView objects. However I am not able to do any operations in Tree, like selection of the any node in Tree, Expand any particular node etc. I can only Expand all nodes in Tree. I have Tree Structure as following

Node A
--> Child A
Node B
--> Child B
Node C
--> Child C

When I am using SELECT method as below, it only selects first node in tree (ALWAYS). Also I can’t select node by using name.

Code:
WpfWindow("ABC").WpfTreeView("XYZ").Select "v0;v1"

Please suggest some pointers.