Forum Discussion

lokithorshield's avatar
lokithorshield
Contributor
9 years ago

Search Protocol

Hi , I am trying to see what is the optinmal way of name mapping. Lets say for a name mapping element I use 5 properties, which property will it try to match first in the object browser model?. Is it based on something like HTML concepts or its  a Testcomplete propreitary sequence ?

 

Thanks,

Mahesh

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    The search is (obviously) based and done using internal TestComplete's objects tree. The actual implementation is proprietary.

    The search itself is quite fast. The only thing that I noted is that the objects tree is traversed from the end. I.e., if you are searching for one object (.FindChild()) and Item2 and Item4 meet the search criteria, Item4 will be returned:

    Item1

      Item2

        Item3

          Item4

      Item5

        Item6

    • lokithorshield's avatar
      lokithorshield
      Contributor

      Is there no way - they can provide the high level properties that we can use ? that comes in priority?

       

      Mahesh