Hi Newbie,
The answers mentioned above by team members are absolutely correct.I would
like to give u a brief regarding your scenario.
1. Use of ON ERROR RESUME NEXT command.- When we are sure at what step the
pop up will come.
Then use ON ERROR GOTO 0 command- to disable the command once it has
performed your desired task.
2. Use Recovery scenario-> Trigger- POP UP
Recovery - click of mouse or
keyboard operation
Post Recovery - proceed to next
step.
I hope u must have got the idea to deal with such scenarios.
Regards,
Gaurav
On Wed, Feb 27, 2013 at 1:22 PM, Prasun Jha <[email protected]>wrote:
> Hi Newbei,
> I thing to know for answering your questing.
> Do you know exactly where your pop can pops, like after execution of 10th
> line or doing some action, pop up may appear depending upon application. If
> you know that that than you use .exist mathode with if else condition
> already suggested in above replies.
> Otherwise you have to use recovery scenarios (should be ignored in real
> time).
> On Monday, 18 August 2008 23:40:33 UTC+5:30, Newbie wrote:
>>
>> Hi all QTP experts,
>> I'm currently experiencing difficulties in scenario below.
>> Please advise.
>>
>> Scenario:
>> If a popup appear then would like to click yes button.
>>
>> Would like to script if this appear then then yes, otherwise, ignore
>> the scripts and proceed to next scripts.
>> Is there a way to do this?
>>
>> Thanks!
>> Newbie
>>
> --
> --
> 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.
>
>
>
--
GAURAV SHARMA
S/W ENGG.
ACCENTURE
--
--
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.