Forum Discussion
5 Replies
- Marsha_R
Champion Level 3
Is this happening on different machines or on different browsers? Let's see a screenshot of your name mapping with some of the duplicates.
- BrianSmartOccasional Contributor
This is happening on the same machine using the same browser each time (MS Edge)
Here's the original mapped browser
Here's the duplicate created when recording tests:
Here's the properties of the original mapped browser:
Here's the properties for the duplicate mapped browser:
Hi BrianSmart -
I would recommend removing the full name property from the original browser mapping. The full name property makes the objects specific to edge which is probably what is causing the tool to repeat the mapping. It is better to have a generic mapping just using ObjectType browser like the second mapping shows.
Let me know if you have questions.
Emma
- jr348Contributor
Look at the point where they split from a common parent then use wildcards and/or remove some of the properties that might be different when the page opens next time.
Many web frameworks such as REACT use one-off class names for example:
Username_TextBox_21837_hgggh33ezr4
This would be mapped as Username_TextBox_*