Forum Discussion
TanyaYatskovska
Alumni
13 years agoHi Abhishek,
It's expected. The code you are using executes the test without a delay if the object exists or waits for the specified time (the Auto-wait timeout project option handles this) for it to appear.
You need to use the WaitAliasChild method to obtain the Aliases.eCC.dlg3900 object:
if Aliases.eCC.WaitAliasChild("dlg3900", 3000).Exists thenstatement 1
statement 2
end if