markbain
15 years agoOccasional Contributor
Web Nav Bars and Name Mapping
The website I am testing has a 'header' section that is used as a Navigation throughout the site. However, when I record scripts and click on tabs, the objects get stored under the specific page they were recorded in.
EG: Nav Bar: 'Home | Search | Admin'
If I clicked on 'Search' when on the 'Home' page, then the 'Search' nav object gets stored in the 'Home' page tree. If I want to use that same object from the 'Admin' page, I have to record/capture that object while on the 'Admin' page. Thus having duplicate objects within the Name Mapping (one under the Home tree and one under the Admin tree).
Is there an easier way to get these types of objects available throughout the website without having it specifically tied to the page you originally recorded it from.
EG: Nav Bar: 'Home | Search | Admin'
If I clicked on 'Search' when on the 'Home' page, then the 'Search' nav object gets stored in the 'Home' page tree. If I want to use that same object from the 'Admin' page, I have to record/capture that object while on the 'Admin' page. Thus having duplicate objects within the Name Mapping (one under the Home tree and one under the Admin tree).
Is there an easier way to get these types of objects available throughout the website without having it specifically tied to the page you originally recorded it from.