lbyrne
11 years agoContributor
Unable to find objects Test Complete 10
I am new to Test Complete
At one point, the old scripts work.
I am getting many objects does not exist errors.
I am not using name mapping
Please explain
Old code
At one point, the old scripts work.
I am getting many objects does not exist errors.
I am not using name mapping
Please explain
Old code
Call Sys.Process("HSP.Meditrac").mdiMeditrac.StripMainMenu.Click("Help|About Meditrac...")
New code after re-recording
Set mdiMeditrac = Sys.Process"HSP.Meditrac").WinFormsObject("MDIForm")
Call mdiMeditrac.StripMainMenu.Click("Help|About MediTrac...")
Why was WinFormsObject("MDIForm") added?
I have just started to review a few scripts and I see this as an issue in many scripts and it causes multiple unable to find objects when I run the project