Hi,

If you want to close off the popup, then popups are generally identified as
standalone windows. so just object spy the popup for text or attachedtext
and Close.

window("text:=xxxx").Close()

try this,



With Regards ,
Satish Kadali,
9550393539

*Note: Please excuse any typos

On Thu, Jun 4, 2015 at 2:54 PM, 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.

Reply via email to