Forum Discussion
TanyaYatskovska
Alumni
12 years agoHi Jyothi,
Could you please read the "Waiting for an Object, Process or Window Activation" article to learn the ways to obtain the objects appearing when executing tests?
As for your function, it looks ok. To guarantee the successful test execution, you may check whether the parent object exists and finds the child only after this:
if (oParent.Exists)
getObj(oParent,strProperties)
Could you please read the "Waiting for an Object, Process or Window Activation" article to learn the ways to obtain the objects appearing when executing tests?
As for your function, it looks ok. To guarantee the successful test execution, you may check whether the parent object exists and finds the child only after this:
if (oParent.Exists)
getObj(oParent,strProperties)