NoSuchWindowException in IE | Selenium Forum
M
Posted on 05/04/2016
HI Team,

I am trying to automate application in IE browser and it is able to launch the application and unable to select dropdown values
code throws NoSuchWindowException .

I have tried below code still not fixed

DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer();
capabilities.set(InternetExplorerDriver.
INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,true);
WebDriver driver = new InternetExplorerDriver(capabilities);


and my IE browser settings made as
Tools-->Internet option
Protected Mode settings for each zone to be the same value.
Zoom =100%


Please help me to proceed.

M
Replied on 06/04/2016

[quote:1r3fn9ai]unable to select dropdown values
code throws NoSuchWindowException .
[/quote:1r3fn9ai]

what is the xpath you're using?


M
Replied on 06/04/2016

I tried using both absolute and partial xpath. Today when I try to debug the code , code working properly.
Issue is when I run the code.

And i kept delay also . Still it is failing.


M
Replied on 07/04/2016

try it with thread.sleep and tell me the result.


M
Replied on 07/04/2016

Thread.sleep is also not working


M
Replied on 07/04/2016

give me the code?


M
Replied on 07/05/2016

Thanks
IT is fixed