You can use inspect.exeto view all available properties of any user interface element on the screen. This will help you understand what properties you want to use to identify the user interface element in various cases. For example: I found that a property is AutomationIdvery useful in some cases where the element name is not static.
Also, if you want to find an element with a partial coincidence of the name Name, you can iterate the entire tree (for example: through a method FindAll) of the available element with TrueConditionand check the name coincidence manually.
source
share