Forum Discussion
jenli
16 years agoContributor
If we do the Name Mapping mannually, what is the better way to do it: from the bottom of the object tree or from the top of the object tree?
For WPF applications, if the UI control has the Name Element, we do not need to use the name mapping. For example, in XAML code: we have <Button Name="loginOK_btn" ....>
......
</Button>
In my sccript, this button can be accessed progrmatically as: processName.WPFObject("loginOK_btn").
For WPF applications, if the UI control has the Name Element, we do not need to use the name mapping. For example, in XAML code: we have <Button Name="loginOK_btn" ....>
......
</Button>
In my sccript, this button can be accessed progrmatically as: processName.WPFObject("loginOK_btn").