In my company, if you launch firefox some intracomm webpage will opened up then authentication pop up starts appearing.If you enter proxy credentials then only you can do any further work.
NOTE: Opened intracomm page and url for which credentails are required both are different.
I try to pass credentials through autoit BUt it is not working.
used code :+1:
ProfilesIni profile = new ProfilesIni();
FirefoxProfile testprofile = profile.getProfile("debanjan");
DesiredCapabilities dc = DesiredCapabilities.firefox();
dc.setCapability(FirefoxDriver.PROFILE, testprofile);
FirefoxDriver driver = new FirefoxDriver(dc);
driver.manage().window().maximize();
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver = new FirefoxDriver();
Runtime.getRuntime().exec("H:\Officialdata1\AUTOITScript\HandlePopUp.exe");
@rupam25 this is the issue archive, please do not open issues here.
If you have an issue than can be reproducible, please open it here, don't forget to fill the complete template. Otherwise it is very likely that it will get closed.
In my company, if you launch firefox some intracomm webpage will opened up then authentication pop up starts appearing.If you enter proxy credentials then only you can do any further work.
NOTE: Opened intracomm page and url for which credentails are required both are different.
I try to pass credentials through autoit BUt it is not working. used code :+1: ProfilesIni profile = new ProfilesIni(); FirefoxProfile testprofile = profile.getProfile("debanjan"); DesiredCapabilities dc = DesiredCapabilities.firefox(); dc.setCapability(FirefoxDriver.PROFILE, testprofile); FirefoxDriver driver = new FirefoxDriver(dc); driver.manage().window().maximize(); driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); driver = new FirefoxDriver(); Runtime.getRuntime().exec("H:\Officialdata1\AUTOITScript\HandlePopUp.exe");
driver.get("http:\www.google.com");
autoit code: WinWaitActive("Authentication Required") Send("user") Send("{TAB}") Send("pass") Send("{ENTER}")