Forum Discussion

mohit_testcompl's avatar
mohit_testcompl
Occasional Contributor
14 years ago

Object is highlighting in a Test A and through error in Test B.


"Test A" contains a script "VerifymenuItem" that is used to verify the menu item of a toolbar named "MenuBar_Application".. and working fine for it.

But while I am using the same script for the "Test B" to do the same thing, it throws an error stating "Object Does not exist".





when I go through the NameMapping file of test A, I am able to highlight "MenuBar_Application" Toolbar but unable to highlight it when I am viewing it in test B Name Mapping editor.





And when I try to open the "MenuBar_Application" in the "Object Browser" it says "The underlying object does not exist" while it opens successfully in the test A.





Both the test (Test A and Test B) are under same project suite and using the same name mapping file.