A finding that i want to share with you guys who need to access objects programmatically.

While I was developing a function to collect all objects in an IE browser window, I noticed that SQAGetChildren() collects the objects in the page TWICE. Similarly, if you use Tools -> Inspector to inspect the objects in a web page, then use right click -> copy children, you'll find that the children objects are listed twice: the second half of the list will be a duplicate of the first half.

A pitfall I can imagine is that, if you call SQAGetChildren() to collect the objects, and then loop through the array to search for a certain object, there will be 2 elements that matche the searching criteria. You may want to exit the loop when the first matching object has been found.