Scenario is that I need to fill one form and click on a button, as soon as I clicked on the button, one new pop-up should display.
Now my problem is that when I click on a button; 3 or 4 blank windows are opening.
Script just before the error is as follows:
//To click on "Check Availability" Button:
waiter.until(ExpectedConditions.presenceOfElementLocated(By.id("ctl00_ContentPlaceHolder1_btnCheckAvailbility")));
driver.findElement(By.id("ctl00_ContentPlaceHolder1_btnCheckAvailbility")).click();
sleep(4000);
Notes:
- When I try to execute manually it works fine
- When I run the same script by using Firefox it works fine but unfortunately I have to test this application only on IE.
- I properly declared the “IEDriverServer.exe”, so that is not an issue.
So …friends any help or thought on this issue ???
After much brainstorming I found that if we upgrade our Operating system to Windows 7 then this issue got resolved.