Forum Discussion

saguirre's avatar
saguirre
Occasional Contributor
5 years ago

Why does iterating through children seem to go in reverse order?

So I am doing testing of a React web application and I wanted to iterate through items in a drop-down list so that I can see if a specific item exists there. It seems like it's iterating through the ...
  • AlexKaras's avatar
    5 years ago

    Hi,

     

    This is how tree traversing is implemented in TestComplete. You must not rely on indexes as static design-time identifiers, instead just as a means to distinguish between two otherwise identical objects.