Automate WPF Tree Navigation

TreeView is one of the most commonly used WPF controls. Automa is a perfect tool to automate operations on the tree of items.

In our sample app we have three nodes: Europe, North America and South America.

After executing the following Automa script:

start("WpfTreeView.exe")
doubleclick("North America")
doubleclick("USA")
click("California")
WpfTreeNavigation.zip

The "California" node is selected.