Forum Discussion

hendrik_schreib's avatar
hendrik_schreib
Occasional Contributor
14 years ago

dynamic ids and dynamic names

Hello,



we use Testcomple 8.10. Now we test a website with tags which have dynamic ids and names. I am able to edit the namemapping but the elements are only identifiable by the position in the dom/html tree. Does any possibility exist to select elements by their position in the tree?



Furthermore, i want to record the namemapping directly by the position - not by name or id. Is this possible too ?



Regards

         Hendrik

1 Reply

  • Hi,



    we use Testcomple 8.10. Now we test a website with tags which have dynamic ids and names. I am able to edit the namemapping but the elements are only identifiable by the position in the dom/html tree. Does any possibility exist to select elements by their position in the tree?


    You can try using the techniques described in the "Creating Reliable Tests For Dynamic Objects with Name Mapping" video.



    Furthermore, i want to record the namemapping directly by the position - not by name or id. Is this possible too ?


    You can try using name mapping templates to do this.