09-16-2008, 05:25 PM
Hi Devkanth ,
for web application default time out will be 60 sec ..
( File -> Settings --> web tab )
( if needed reduce this to 10 or 12 sec)
To avoid waiting time if pop up is not appeared ...
just give exist(n) instead exist in the code..
i mean to say exist(10) means , qtp will wait for an object to be recognised in 10 secs , if at all not recognized in the given then it will enter to else loop..thereby avoiding the remaining 50 secons.
for web application default time out will be 60 sec ..
( File -> Settings --> web tab )
( if needed reduce this to 10 or 12 sec)
To avoid waiting time if pop up is not appeared ...
just give exist(n) instead exist in the code..
i mean to say exist(10) means , qtp will wait for an object to be recognised in 10 secs , if at all not recognized in the given then it will enter to else loop..thereby avoiding the remaining 50 secons.