Forum Discussion
If that's the case, then don't use XPath!
Have the following enabled/disabled (global settings)
Use Tree model (project settings),
Only map objects that you are interacting with,
Click yes,
Skip mapped names (TC will automatically identify name and properties to be used), until you get to the last mapping i.e. 6/6
Provide a suitable name, and add any additional properties (it has to be unique)
Mapped objects and aliases (the name you provided) looks like this,
If textnodeHeading can not be highlighted, then the properties used in each of the objects in the tree structure has changed.
Identify the object,
and correct it, either using wildcards or full URL
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.
Related Content
- 5 years ago
- 7 years ago
Recent Discussions
- 17 hours ago