For Web applications there is the XPath standard that uses path expressions to select nodes or node-sets in an XML document. This is a flexible and powerful mechanism to search for and select application elements.
It would be great to have a similar mechanism in TestStack/White for GUI applications. "UIItemPath" could have a similar syntax as XPath. This could be used for UIItem identification and in search criteria expressions. This would also provide a mechanism to define a search criteria for deeper and structured search expressions.
The present method in White for searching and selecting GUI objects is very cumbersome and code intensive. For complex GUI structures a lot of code is required to find and select an object.
Cheers
Piotr