Forum Discussion
Thanks for the answer.
I succeeded to pu it in place, but I'm obligated to put it on every line (about 40/50 lines). childObject isn't generic; there is no generic solution ? without specifying a childobjet ?
The error can be everywhere, jsute because of a slow response or it was too fast.
As mentioned, this way of writing tests is best practice: check for existance before using the object if there is doubt. So, making the change all around is necessary re-factoring.
There's no "generic" child object because you need to specify what object you're waiting for to exist... you can't just say "wait for an object"... which object?
- fm285 years agoNew Contributor
I am surprised that there is not a solution like the try / catch for this type of error.
- tristaanogre5 years agoEsteemed Contributor
There is a solution - "If Object" operation for keyword tests and "WaitChild" for script code.
Related Content
- 7 years agoeflyerman
- 5 years agounderqualified