Authentication Pop-Up in Firefox

Hello KATALON Community;

Does
anyone know how to handle Authentication Pop-Up in Firefox, when I used Record
mode, it goes off and can’t detect any field ??

Thanks for your help :slight_smile:

Captcccure.PNG

@rabah: you could use Authenticate keyword to handle this in Firefox
But Katalon Recording does not support on detecting authentication dialog, so while you are recording, please add authentication information manually, then proceed record other steps.
After the test case is generated, change the line:

WebUI.navigateToURL('Your_url')

to

WebUI.authenticate('Your_url', 'username','password',0)

It should work now.
Details for keyword authenticate is here: https://docs.katalon.com/display/KD/%5BWebUI%5D+Authenticate

Sample is in attached screenshot

2017-12-19 23_45_08.png

Thank you @nhi for your response, but unfortunately, it doesn’t
work :confused: it’s like he does not recognize the field for user/password :frowning:

@rabah: do you get any error message? There are some note when you run with this:
- This will work only for Firefox at this time
- It will take a delay about 5-10 seconds to execute authenticate test step
- During the authenticate test step is executed, please don’t click or open any other windows

You can user url with authentication information like below
**http://username:password@domain.com
**this works for me

Nilesh Smartwebtech said:

You can user url with authentication information like below
**http://username:password@domain.com
**this works for me

With Firefox it doesn’t work :frowning:
Have you other ideas to solve the problem??
Thanks in advance

Andrea D’alì said:

Nilesh Smartwebtech said:

You can user url with authentication information like below
**http://username:password@domain.com
**this works for me

With Firefox it doesn’t work :frowning:
Have you other ideas to solve the problem??
Thanks in advance

Yes, been doing lot of research but no luck with windows authentication with FF browser, looking forward for some suggestions. Thanks in advance.

WebUI.setAlertText((+ Keys.TAB.toString()) + )

WebUI.acceptAlert()