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]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to