In first case it should wait only for 2 second as you gave explicitly 2 second in exists statement. In second statement it won't wait, it just check and return the result, because you mentioned 0 second.
Thanks, Lalit Aggarwal Sent from BlackBerry® on Airtel -----Original Message----- From: shilpa gupta <[email protected]> Sender: [email protected] Date: Fri, 12 Jul 2013 00:16:34 To: <[email protected]> Reply-To: [email protected] Subject: query for .Exist Hi, Pls see below query and reply I want to check if an object exists and using obj.Exist(2)..the system waits for more than 2 seconds pls let me know what is the correct logic if File > Settings > Run > Object Syn. Time Out = 20 sec then obj.Exist(2) will wait for 2 seconds or 22 seconds If i use obj.Exist(0), will the result is same -- -- You received this message because you are subscribed to the Google "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 --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google "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 --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
