Property of mapped object available in one project, not others
I have a routine in a script file used by all my various test projects and one line is giving me trouble:
If Aliases.[parentObjects].WaitAliasChild("dlg", 2000).Visible Then ...
This line tests if a pop up dialog is visible on the screen so the tests and can handle that situation if it appears. In some test projects, it works fine and returns either True or False and the script moves on. In other projects I get an error at this line: "The test object was not found when executing the Visible command". The two projects in question do have different name mapping files, so I think that may be the issue. When I look at the object in the name mapping editor for either name mapping file, however, it appears to have the "Visible" property. What can I do to try and make this work?
Thanks