<font class="small">Code:</font><hr /><pre>
'scenario to check if the test completed.
Do While NOT obj.exist(0)
i = i + 1
Wait 1 'Wait for 1 sec
if i > 120 then Exit Do 'exit do loop after 120 sec
this way you don't have to wait 120 sec always. you can start as soon as other script finish. but you have to put correct exist condition.