Forum Discussion
I have encountered the same kind of issue on Android. We have a "title bar" containing icons which vary depending on which screen we are. Having a lot of problems to touch these icons, I was getting the same message.
What I have found with the spying of objects for a given hierarchy (a lot longer than this...)
myApp ScreenLayout TitleBar Items_Control RightSide_Icons Button_IconOne Image_IconOne Button_IconTwo Image_IconTwo
You might be trying to touch the Button_IconOne object, but in my case it had a child Image_IconOne object of the exact same size creating the overlapped issue. Both the button and its child have the same top, left width and height values and they are both Enabled and VisibleOnScreen.
To go around this, I made a subroutine to touch the highest ScreenLayout (the first one under MyApp) using the coordinates of the buttonIcon (Top +20, Left+20) to touch with the targeted object.
My tests run and different Android levels and différents devices and they all use this little sub (to go around the title bar icons issue)
Hi,
Thank you a lot for sharing the tip and detailed description!
Just wondering: have you tried to Touch the image, but not the button? Didn't it work?
- slecault7 years agoContributor
Hi Alex,
I have not tried to touch its child. The Button object in my case is at a depth of approximately 17, and it goes 4 levels deeper when we consider its children. The Button for us has a Field Description allowing me to identify it and map it. Its 1st level child is the exact same place (coordinates and size), the grand child are a bit smaller.
- AlexKaras7 years agoChampion Level 3
Hi,
I see... Thank you a lot for the additional explanation that describes the reason of your decision pretty well.
Related Content
- 5 months agosiddhantoza29
- 9 years agoCoder7524
- 11 years agosastowe
Recent Discussions
- 2 days agoGane195