12-14-2011, 02:09 AM
SanKalp,
I thought if I let Exist(#) with time #, QTP skip the synchronization under File->Setting->Run and uses # to determine how long to look. If no time # is given, then QTP uses the synchronization under File->Setting->Run and continues.
So, if i use Exist(0), I would still wait up to 20 seconds if obj synchronization timeout (File->Setting->Run) is set to 20 seconds?
Is it save to set the the obj synchronization timeout to 1 sec?
My current concern is that QTP is running to slow when an If an Exist is
False. So I placed Exist(0) or Exist(1) but QTP takes a long time to tell that no obj exists. But when Exist is True, QTP will pass to quickly and run to fast. Wherer I need to wait, QTP might run to fasst and miss what I need to find.
Any thoughts?
L
I thought if I let Exist(#) with time #, QTP skip the synchronization under File->Setting->Run and uses # to determine how long to look. If no time # is given, then QTP uses the synchronization under File->Setting->Run and continues.
So, if i use Exist(0), I would still wait up to 20 seconds if obj synchronization timeout (File->Setting->Run) is set to 20 seconds?
Is it save to set the the obj synchronization timeout to 1 sec?
My current concern is that QTP is running to slow when an If an Exist is
False. So I placed Exist(0) or Exist(1) but QTP takes a long time to tell that no obj exists. But when Exist is True, QTP will pass to quickly and run to fast. Wherer I need to wait, QTP might run to fasst and miss what I need to find.
Any thoughts?
L