Do Until works for me.. Thanks for all your support. Regards, Guru
On Thu, Jan 27, 2011 at 11:02 AM, Rajiv Nanduani < [email protected]> wrote: > Hi, > > Use until loop statement for dialog 2 exist > > > On Wed, Jan 26, 2011 at 11:12 PM, Guruprasad R <[email protected]>wrote: > >> Hello Shirish, >> >> I am supposed to wait until dialog2 appears. I dont know when dialog2 >> would appear.. So am i required to apply waitproperty on dialog1 or dialog2? >> >> Regards, >> Guru >> >> On Tue, Jan 25, 2011 at 5:57 PM, Shirish Kabade <[email protected]>wrote: >> >>> Hi, >>> >>> First add sync point to make the 'Dialog2' activate. >>> Dialog("Dialog2").Activate >>> >>> Then once the Dialog2 appears then use your waitproperty to check the >>> required details. >>> >>> -Shirish >>> On Tue, Jan 25, 2011 at 7:41 AM, Guruprasad R <[email protected]>wrote: >>> >>>> Hello All, >>>> >>>> Dialog1 starts downloading few files. When the downloading is complete, >>>> a message dialog (Dialog2) appears with Yes and No buttons. >>>> I need to include a waitproperty statement here. >>>> >>>> Which would be the correct property to use in the waitproperty >>>> statement? >>>> Should i use waitproperty on Dialog2 or on the Yes/No button? >>>> >>>> I tried using enabled and focused on dialog2 but its not working for me. >>>> >>>> Dialog("Dialog2").WaitProperty "enabled", true, 9999 >>>> Dialog("Dialog2").WaitProperty "focused", true, 9999 >>>> >>>> Please help.. >>>> >>>> Regards, >>>> Guru >>>> >>>> -- >>>> 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]<mercuryqtp%[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 >>> "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]<mercuryqtp%[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 >> "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]<mercuryqtp%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en > > > > > -- > RAJIV KUMAR > > <http://rajivkumarnandvani.wordpress.com/> > <http://learnqtphelp.blogspot.com/> > > > > -- > 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]<mercuryqtp%[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 "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
