Forum Discussion

NisHera's avatar
NisHera
Valued Contributor
10 years ago
Solved

Navigation Object in multiple web pages

Hi, While writing tests for web application. Found that same navigetor object visible almost all the pages. Rather than mapping same object in deferent pages... Is there any other way ...
  • Colin_McCrae's avatar
    10 years ago
    I achieve this through using Aliases.



    In the Alias tree for the website I was last working on I have:





    • 1 entry for each page with controls specific to these pages contained below them


    • 1 "global" page which uses a heavily cut-down and wildcarded version of the URL (so it will be found no matter what page the site is on) and all the common object below it




    Then the "global" controls (search boxes, side menus, etc etc .... things which persist throughout the site) can be called anywhere and they'll work.