I use FindItem and Select in a treeview in my AUT. But this treeview has a long list of child items in some of the nodes. The problem is that it works very slow when Silk searching the tree. It clicks on the down/up arrow on the vertical scrollbar to browse the treeview. The thing is that one click on the arrow means just one-line move. How can I make one click means moving up/down 4-5 lines?
This could be set in Silk? Or it is Windows settings? (I searched Windows Help but found nothing)
Or I totally misunderstood the way Silk searches the tree?
I haven't used FindItem, but I do know some tricks to get better performance, but they (not surprisingly) require more manual coding.
If you get bigger chunks of data with each call and then sift through that data yourself, you'll get big perf improvements.
If you have a programming background, try using GetChildren() (recursively, if necessary) to get all your page data in one or a few calls. Then use MatchStr on the returned data to find what you are looking for. You'll have to use Print()s to figure out exactly what you are seeking, etc.
I am not sure if getchildren will return all the treeview items without having to 'open nodes' and make new calls. If this is true and you have many nodes, I'd suggest expanding the tree completely before calling GetChildren. Maybe there is even a more appropriate Get... call for treeviews.