How to identify mapped objects when testing web page in NameMapping?
How to identify mapped objects when testing web page in NameMapping? The problem is that for several units the same path or class is used. So combined properties do not work. If I use full path name then it takes also version what is not correct for my test cases as it won't work on newer version testing. Is it possible to create some identification by my self for each tested unit in NameMapping? Or is there any other solution?
One of the things I use in such cases is:
If the IMMEDIATE parents of these objects can be easily identified, I map the element with simple characteristics (e.g. contentText in this case) and keep the Extended Find flag unchecked. That way even though there might be several elements on the page with the same text, the search is limited within that parent. See if that works for you.
If not, include a screenshot of the application if possible in your reply.