Forum Discussion
ashokkumareds
10 years agoContributor
Hi vallalarasu,
The depth cannot be somthing big like 1000.
Can you be more specific on the depths you are finding the object. please post few examples.
In case depth is your only problem, keep the depth incrementing. ex as below
var arrNames = new Array("name", "class", "visible");
var arrValues = new Array("show", "button", true);
var intDepth = 0;
do
{
intDepth ++;
var objChild = FindChild(arrNames, arrValues , intDepth, true);
}while(!objChild.Exists)
hope this helps. If not please provide more details about the problem.
The depth cannot be somthing big like 1000.
Can you be more specific on the depths you are finding the object. please post few examples.
In case depth is your only problem, keep the depth incrementing. ex as below
var arrNames = new Array("name", "class", "visible");
var arrValues = new Array("show", "button", true);
var intDepth = 0;
do
{
intDepth ++;
var objChild = FindChild(arrNames, arrValues , intDepth, true);
}while(!objChild.Exists)
hope this helps. If not please provide more details about the problem.
Related Content
- 8 years ago
- 12 years ago
Recent Discussions
- 9 hours ago