Jump to content
Sign in to follow this  

IELinkClickByText triggering popup blocker in IE7

Recommended Posts

Hi all,

I am using Autoit as my functional test tool for a web site. Recently we placed a load balancer in front of our 2 web front ends and now when I am in the secure portion of the site (login via windows username/pass) a page that generate a popup window is having the popup blocker trigger when using _IELinkClickByText on the link. If I do it manually, it does not do this. Previously we were hitting the site within a domain trust, now with the LB its seen as an external connection ( I am "guessing" as I am not a master of these concepts...).

I've tried inserting a sleep for up to 20 seconds to see if it was keying off of too quick a click.

I'd prefer not to place an exception in the popup blocker since that may potentially block me from seeing ones that may get triggered manually.

Does anyone have any idea why the link.click in _IELinkClickByText is triggering the popup blocker now (zone change?)? Any workarounds?

Edited by Morguhn

Share this post

Link to post
Share on other sites

Wow, this is a poor, sad workaround that MAY work.

Send( "{CTRLDOWN}" )

; now _IELinkClickByText

Send( "{CTRLUP}" )

That should bypass the popup blocker in IE. I wouldn't have given you this crap workaround if somebody else had responded, but for now, I guess you can try this

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...