alan-mullin
5 years agoOccasional Contributor
FindChild method finding one child object but not finding the rest of the child objects
My tested application uses a dynamically built menu. If 7 manuals are installed, it displays 7 items, if 6 are installed it shows 6, and so on. TestComplete is mapping the menu items the same way eac...
- 5 years ago
FindChild finds the FIRST object that matches the criteria, working from the bottom of the tree up. So, it found exactly what you suggested... but not the one you were looking for. You may need to expand your property array and value array to include additional criteria. You might also want to consider starting further down the tree rather than from sectionLib.