Forum Discussion

swati_nadage's avatar
swati_nadage
Contributor
11 years ago

Working with same edit boxes in a table of tree lis control

We are automating a desktop application. In that we have a tree list control, in that there is a table in which there are edit boxes. On double clicking on cells in the table edit box appears. TestComplete is showing same edit box object for all the cells in the table. I tried using FindAllChildren method. In hat also its giving only one edit object. We want to input min max values in these edit box. But as same edit button TestComplete is showing i am not able to understand how to hadle it. Properties of edit boxes are same. Could you please help me in handling this issue?

5 Replies

  • NisHera's avatar
    NisHera
    Valued Contributor

     How does TC identify the edit box?
    name-mapping or you have programatically captured?
    I think it's becours you are capturing edit box with common property.
    try to identify edit boxes using unique property
    If all the properties are common may be parent objects are unique in hierarchy
    may be your developers could help...

    • swati_nadage's avatar
      swati_nadage
      Contributor

      Thanks NisHera for your reply.

      Actually the table which is there is a tree list control, TestComplete is not identifying its rows and column as indivisual. Its a custom control and third party control. Thats why TestComplete is not identifying it properly and as that table is under tree list it gives methods of tree list for this. It is identifying table as a whole.