LVPrasad Posted August 4, 2016 Posted August 4, 2016 Hi All, Need help in below scenarios, please I have a scenario in my application when i click on download button from my application (firefox browser) a dialog box shows up to open or to save options and ok, close buttons. when i Spy on the Mozilla download dialog it didn't capture anything, please find the attached screenshot. if possible can someone please guide me how to work on this. i wanted to: click on save radio button then click on ok button.
LVPrasad Posted August 4, 2016 Author Posted August 4, 2016 1 minute ago, LVPrasad said: Hi All, Need help in below scenarios, please I have a scenario in my application when i click on download button from my application (firefox browser) a dialog box shows up to open or to save options and ok, close buttons. when i Spy on the Mozilla download dialog it didn't capture anything, please find the attached screenshot. if possible can someone please guide me how to work on this. i wanted to: click on save radio button then click on ok button.
TheDcoder Posted August 4, 2016 Posted August 4, 2016 please don't bump threads in less than 24 hours! Anyway, Firefox enables the "OK" button after you select the window. EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
Danyfirex Posted August 4, 2016 Posted August 4, 2016 Hello. You can do something like this. #RequireAdmin ;Your download rutine here then _WaitAndClick() Func _WaitAndClick() WinWait("[CLASS:MozillaDialogClass]", "", 10) WinActivate("[CLASS:MozillaDialogClass]") Send("{DOWN}") Sleep(1000) Send("{ENTER}") EndFunc Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
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