The name of the item appearing on screen is 'Show Document' which is a MenuItem however in the Object Browser it is named as MenuItem(0). Now, after mapping the item I had changed the of MenuItem(0) to its actual on screen name which is 'Show Document' however my test failed. I have attached the screenashot of the reason from test log.
Is there a way I can sort this out and ensure that the on screen name is mapped to the MenuItem(0) in a way that it gets identified correctly ?
If you're getting a different Alias altogether, then that means that there's some alias out there that is being picked up... meaning that the mapping criteria for that one may not be specific enough to distinguish it from the one you're working with.
Robert Martin [Hall of Fame] Please consider giving a Kudo if I write good stuff ----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.
Regards, /Alex [Community Hero] ____ [Community Heroes] are not employed by SmartBear Software but are just volunteers who have some experience with the tools by SmartBear Software and a desire to help others. Posts made by [Community Heroes] may differ from the official policies of SmartBear Software and should be treated as the own private opinion of their authors and under no circumstances as an official answer from SmartBear Software. The [Community Hero] signature is used with permission by SmartBear Software. https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame ================================