seadoggie01 Posted February 28, 2020 Share Posted February 28, 2020 Quote if I run my selenium test Can you show us this selenium test? If you're using Dan2P's WebDriver functions, then _WD_Alert is the function you're looking for. Otherwise, i would suggest seeing if you can get the control id from AutoItInfo and using ControlSetText(). If you don't get the control id from that, you can try using UI Automation, but that's probably overkill All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types Link to comment Share on other sites More sharing options...
Nine Posted February 28, 2020 Share Posted February 28, 2020 You may resort to use an UDF. WebDriver or IE. Latest is easier to learn as it is very well documented, but WebDriver is the way to go if you prefer Chrome and don't way to use IE. Because at some point, sooner or later, by using Send and MouseClick you will hit a wall and you will be forced to take a UDF. If you want a more robust solution, and not always fighting with the browser, go with a UDF... seadoggie01 and Musashi 2 “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...
Bert Posted February 28, 2020 Share Posted February 28, 2020 install the extension "WebDeveloper" and use it to get the ID. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
qqq1 Posted March 2, 2020 Share Posted March 2, 2020 On 2/28/2020 at 7:53 PM, Nine said: You may resort to use an UDF. WebDriver or IE. Latest is easier to learn as it is very well documented, but WebDriver is the way to go if you prefer Chrome and don't way to use IE. Because at some point, sooner or later, by using Send and MouseClick you will hit a wall and you will be forced to take a UDF. If you want a more robust solution, and not always fighting with the browser, go with a UDF... But how it is possible to use UDF Link to comment Share on other sites More sharing options...
Nine Posted March 2, 2020 Share Posted March 2, 2020 2 hours ago, qqq1 said: But how it is possible to use UDF Open AutoIt help file, the last section contains all the UDF. Go to IE udf, you will see all the available functions. Each function has at least one example. Study them, put some code together and come back with your code if you have problem. “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...
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