Jump to content

How to Interact with Webpage Dialog using _IE udf


Go to solution Solved by BigDaddyO,

Recommended Posts

I'm trying to test an old application that is accessed via IE only.  The individual pages with all the controls to interact with are displayed within a Webpage Dialog popup.

Every time I use _IE options to launch the page, the entire script freezes.  i've searched this forum but all I find is to launch a 2nd script ahead of time to close the Dialog window, but I need to actually interact with it.

Anybody know how I can do this?

Thanks,

Mike

Link to post
Share on other sites

You can build the script on the fly (based on the interactions you want to do) and launch it just in time.  I do not believe there is another way than using a 2nd process.

Link to post
Share on other sites
  • Solution

I ended up using _IE to log in and get to just before clicking the Go button to launch the webpage dialog.  Then I switched over to UIAutomation to click GO and then deal with all the controls in the Dialog window.  

Surprisingly all of the individual controls have $UIA_AutomationIdPropertyId names which is making this probably the easiest app to automate with UIA that I've dealt with so far.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...