Forum Discussion
If that's the case, then don't use XPath!
Have the following enabled/disabled (global settings)
rraghvani_0-1676386657246.png
Use Tree model (project settings),
rraghvani_1-1676386747363.png
Only map objects that you are interacting with,
rraghvani_2-1676386926321.png
Click yes,
rraghvani_3-1676386972343.png
Skip mapped names (TC will automatically identify name and properties to be used), until you get to the last mapping i.e. 6/6
rraghvani_4-1676387060889.png
Provide a suitable name, and add any additional properties (it has to be unique)
rraghvani_5-1676387217859.png
Mapped objects and aliases (the name you provided) looks like this,
rraghvani_7-1676387503601.png
If textnodeHeading can not be highlighted, then the properties used in each of the objects in the tree structure has changed.
Identify the object,
rraghvani_8-1676387770260.png
and correct it, either using wildcards or full URL
rraghvani_9-1676387805635.png
This is how I build my mapped objects for the web application that I test. It might be long-winded, but it works great for a web application that was never indented or built for automation. Majority of all the objects don't have the "id" attribute in the web application that I test.