BigDaddyO Posted December 2, 2021 Share Posted December 2, 2021 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 comment Share on other sites More sharing options...
Nine Posted December 2, 2021 Share Posted December 2, 2021 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. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
junkew Posted December 3, 2021 Share Posted December 3, 2021 ObjectFromLResult and sendmessage WM_HTML_GETOBJECT are probably the answer to google around for. https://stackoverflow.com/questions/54318737/automating-the-html-document-in-an-ie-web-dialog-window FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Solution BigDaddyO Posted December 8, 2021 Author Solution Share Posted December 8, 2021 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 comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now