Jump to content

Recommended Posts

Posted (edited)

I am new to auto IT and I am able to create script that can Handle IE Pop-ups.

I want to create similar script that can Click on YES or NO Buttons on FireFox Pop-up.

Like Certificate error message, Confirmation box, Domain mismatch Error boxs

I created for IE like ............

$MSIExplorer = "Microsoft Internet Explorer";

$IESecurityWarning = "Internet Explorer - Security Warning"

$IEAlert = "Security Alert"

$IESecurityInformation = "Security Information"

while(True)

;;handle "Browser Authentication" pop

if WinExists($IESecurityInformation) Then

WinActivate($IESecurityInformation)

ControlFocus($IESecurityInformation,"","&Yes")

ControlClick($IESecurityInformation,"","&Yes")

Sleep(10)

EndIf

;;handle Microsoft Internet Explorer

if (WinExists($MSIExplorer)) Then

WinActivate($MSIExplorer)

;;first try

ControlFocus($MSIExplorer,"","&Yes")

ControlClick($MSIExplorer,"","&Yes")

;;second try

ControlFocus($MSIExplorer,"","OK")

ControlClick($MSIExplorer,"","OK")

EndIf

Wend

I work for an Automation Projects. I am looking for scripts and advice.

Thanks,

Jitendra

Edited by jitu
Posted

WHat happens when you use the AutoIt WIndow Info tool on the popup to get the ID's of the controls?

I tried that but no information displayed in AutoIt info tool (No id for contrl). Firefox popups are not recognizing properly.. that's why not able to create script.

Posted

I tried that but no information displayed in AutoIt info tool (No id for contrl). Firefox popups are not recognizing properly.. that's why not able to create script.

Any body has info about this??

How i can click on firefox Popups??

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
×
×
  • Create New...