Forum Discussion

Luukdb's avatar
Luukdb
Contributor
3 years ago
Solved

xPath only using the first selector

Hello, I am trying to use one mapped object with several selectors, but TestComplete only uses the first selector.       As you can see I want to select a navigation arrow with a special I...
  • brumazz's avatar
    3 years ago

    Hi Luuk, 

     

    I'm not sure why that is happening specifically...though at first glance I would assume that ID is dynamic, so that could add some complexity to this.
    However, if you are trying to use the 3rd selector, why not just change the order of the selectors?

     

    TestComplete allows for that along with adding or editing the selectors. 

    Please check out this link about it, and let us know how it goes 

     

     https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/selectors.html