Forum Discussion
For your Labels, you could make them use extended find which and use some unique property of the label, text could ever work if (although you will have to make sure to wild card it so minor variations won't break you're mapping.
In a nutshell what this does is allow you to find the label regardless of where it is in the object tree. This way it will not matter which Collection view it is under.
See http://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/managing/modifying/extended-search-criteria.html for more information.
Hello,
Thanks for your help. I've modified my mapping for use extend find, and I've deleted dynamic parents.
Alsoo in keyword test, when I use Find object with Touch operation, it works for first brands, visible on screen, but it doesn't work if brand is on the bottom of the page (necessary to scroll).
Is it possible to launch the page behind this Brand link, also iit's not visible on the screen?
- rodrigueA7 years agoOccasional Contributor
I've resolved this problem by making a scroll before search the object.
The most often it works, but sometimes (1 time on 10 more or less) there is an other brand that it's launch.
It seem sometime Test Complete use the position on the screen, however, I've mapped all brand in this screen, with ObjectText that it's property different for each brand.
Related Content
Recent Discussions
- 2 days agoMW_Didata