There are two way to handle this situation-
Using recovery scenario.
Using if else statement like
If popup.exist then
Close it
End if
Thanks...
Akhalesh
On 4 Jun 2015 19:34, "krishna kanth" <[email protected]> wrote:
> @Team,
>
> I am trying to automate menu navigation like Home , about us , contact us
> etc etc..
>
> while i always get an pop-up with an advertisement when i click Home page.
> rest of the pages will be normal...
> My question is how to write the vb script when the navigation comes to
> Home page the pop-up should be closed and rest of the process should follow
> automatically.
>
> --
> Regards,
> Krishna
>
> --
> --
> 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/d/optout.
>
--
--
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/d/optout.