Jump to content

MozillaDialogClass


Recommended Posts

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.

AutoIT.png

Link to comment
Share on other sites

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.

AutoIT.png

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...