Solved
Forum Discussion
bo_roop
8 years agoContributor
Sorry,
Should have mentioned that that syntax doesn't work either. :(
tristaanogre
8 years agoEsteemed Contributor
So, what do you get in the way of errors, if any?
Have you tried the following?
ChildObjectName = "[\"Panel\"](2)" if (Obj["WaitChild"](ChildObjectName, 10000)["Exists"])
According to the help documentation, (https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-all/waitchild-method.html), that second parameter, if it's set to 0, will return immediately... even if the object is not found. By changing it to 10000, it actually sets a maximum time to wait for the object to appear. It COULD be that the object may have a delay before it "Exists" and you need to actually wait for it.