Forum Discussion
- maximojoFrequent Contributorthat sounds right to me. if "raj" does not exist it will wait 20 seconds and then NOT enter the "if".
What do you expect to occur?
It needs to be a direct child so if the alias is:
appObject.ContentPane.control.raj
then your "if" would never be true.
it would need to be
appObject.ContentPane.raj
and then of course be loaded :)
You can setup aliases to objects any way you like so if "raj" as a mapped object is this:
appObject.ContentPane.control.raj
you can setup an alias for it to be:
appObject.ContentPane.raj - rajforu2k6Occasional ContributorHi Mark,
Thanks for your time.
I am new to the TestComplete and trying to understand how Wait methods works. In TestComplete documentation website it doesn't clearly mention whether Child name should be direct child object or not.
I have mapped the object and created Aliases; and by using WaitAliasChild method solved my purpose.
Regards,
Raj
Related Content
- 5 years ago
- 11 years ago
Recent Discussions
- 22 hours ago
- 23 hours ago
- 5 days ago