Forum Discussion
John-ITA
13 years agoOccasional Contributor
Thanks. If you saw my full function you would see that my code and yours are doing the same thing, except I'm looping through an array of objects starting at the page level down through the final control on the page. Your comment about "can't don't waitchild if the object doesn't exist" made me realize that in my case I'm getting to an object like SELECT and there are none on the page. Therefore when I try to do SELECT.waitchild(cmbStates,100) I'm getting my error. So I need to put a check for exists in my loop and as soon as I hit a false I need to exit my loop.
Thanks again.
JJ
Thanks again.
JJ