Forum Discussion

RobLee's avatar
RobLee
New Contributor
9 years ago
Solved

How to keep DOM elements from showing in the Tree View

Hi,     We are new to TC and i'm trying to help our QA team work with how TC identifies and maps HTML elements on a page.      Are their any attributes we can add to HTML elements that will tell ...
  • tristaanogre's avatar
    9 years ago

    Under Tools | Options | Engines | NameMapping, there's an option about Extended Find.  If that's checked, "extra" DIV tags and spans will be "collapsed" if they aren't necessary.  This is useful to an extent.

     

    Personally, I prefer to do this manually.  You can manually check the "Extended Find" flag on any element and then "drag" it to a higher ancestor in the NameMapping for the component to collapse these extra tags.