Forum Discussion

vatbub's avatar
vatbub
Contributor
8 years ago

Very long search time for a particular control on iOS

Hey guys,

me again, this time I have an issue on iOS.

The issue concerns one particular control. If I try to interact with the control in any way (click it, do checkpoints on it, ...), it takes ages for TestComplete to find the object on screen, although there is nothing similar about the control itself. Here are the details:

 

  • The control in question is a TableViewcell that resides within a ScrollView.
  • The control has some own children: Labels and ImageViews
  • The Scroll View is mapped such that this TableViewCell is a required child.
  • The TableViewCell is mapped to have a label as a required child.
  • Other mapping properties of the control are:
    • ObjectType = TableViewCell
    • wSection = 0
    • wItem = 0

TestComplete finds the object in the end, but it takes it a very long time to find it.

Any ideas on why this happens?

Greetings,

vatbub

2 Replies

  • baxatob's avatar
    baxatob
    Community Hero

    I am facing the same troubles when TableViewCell is mapped to have a label as a required child

     

    And the more TableViewCell elements required the more time to find. 

    Interaction with iOS application is rather slow at all, and when TestComplete iterates through each cell before the required element will be found, it becomes a pain. 

     

    However I have got a little gain in speed after I have updated iOS version to 9.x

     

    • vatbub's avatar
      vatbub
      Contributor

      Hey baxatob,

      we are on iOS 9.something and it still doesn't work as it should :( We'll keep on trying.

      Regards,

      vatbub