Software testing companies are more focused on automation testing and testComplete is one of the popular automation tool for automating the test cases.
"FindAllChildren" method is used to search all child objects that have specified values of the specified properties. The FindAllChildren method search starts from child objects of testedObj and continues down the object hierarchy to specified depth.
The FindAllChildren method is similar to “FindAll” method. The difference between them is that “FindAllChildren” only searches in child objects, whereas FindAll method checks properties of testedObj object.
If you have identified number of items using FindAllChildren method in form of List, then you can get the size of List by using size() function:
int listCount = listName.size()
Once you get the size of list, then you can compare the size of list using .assertEquals(int expected, int actual):
assertEquals(listCount, int actual)