Forum Discussion

ckim's avatar
ckim
Occasional Contributor
11 years ago
Solved

Scripting without Aliases

Hey All,



I'm currently testing an application where I can record scripts and the name mapping will work. However, when I quit the application and try to rerun the scripts I recorded, most of them produce the "Ambiguous recognition of the tested object" warning which then leads to the "Object does not exist" error. I read in a separate thread (http://smartbear.com/forums/f74/t90568/what-is-the-best-approach-for-scripting-with-na/) that you can find objects dynamically by using Find, FindChild, etc. with object properties. This seems like what I'm looking for because I'm pretty sure that everytime I close and reopen my application the properties of various objects change and in turn breaks the name mapping of my test project. Could someone help clarify how the Find methods work in getting objects during testing? 



Thank You,

Chris