You can

for i = 1 to 3 then
if xxxxxx.exist(0) then
exit for
end if
wait 1
next

if i = 3 then
   report error
end if

On Thu, Sep 18, 2008 at 3:27 AM, Mathi_QA Engineer <[EMAIL PROTECTED]>wrote:

>
>                                I want to check the particular object
> exists or not and it should wait for 2 seconds and should display the
> result..
> So i just added,
>                 xxxxxx. Exist(2)
> but,I feel it waits more than 2 seconds think waits 2 minutes.
> Then what numeric we have to addd i it should wait for only 2 seconds?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to