Forum Discussion
JavierCollRodri
14 years agoContributor
Hi Josh,
One approach could be that:
First, Retrieve this object: "Sys.Browser("firefox").Page("http://www.test.com/").Panel("HN_HNMC").Panel("HN_HNMC_Cont")" and store it in a variable. Now, you only have to access its children in a loop.
Other way to do that is to add an attribute (such as a classname) to all the panels you need, use any of the Test Complete Find methods (such as FindAll) to get them, and then loop it.
Hope it helped!
One approach could be that:
First, Retrieve this object: "Sys.Browser("firefox").Page("http://www.test.com/").Panel("HN_HNMC").Panel("HN_HNMC_Cont")" and store it in a variable. Now, you only have to access its children in a loop.
Other way to do that is to add an attribute (such as a classname) to all the panels you need, use any of the Test Complete Find methods (such as FindAll) to get them, and then loop it.
Hope it helped!