Find object with unlimited depth search
Can I search with IObjectTreeNode's 'Find' method on unlimited depth?
Should I pass 0 to 'depth' parameter?
Most (if not all) methods and properties provided via the IObject interface are the ones provided by TestComplete/TestExecute engine. According to the documentation (https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-all/find-m...), to search for unlimited depth, the reasonably large number (e.g. 20000) should be specified for the depth parameter.
/Alex [Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.