tags:

views:

131

answers:

0

Hi,

i am facing problems in automating the application using Firefoxdriver.

In my application i have some links...after clicking on any of the link..another page will open..my problem is after clicking on the link on the first page and before coming the second page firefox is showing an authentication window...how to handle this window ? i have used below code but no reults..kindly help me..

code i have used is :

for (String handle : driver.getWindowHandles()) { driver.switchTo().window(handle); }

kindly help me..