Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium WebDriver Integration
Tue Nov 21, 2017 1:06 pm by azharuddin

» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Unable to find element on closed window on IE 11

View previous topic View next topic Go down

Unable to find element on closed window on IE 11

Post by AlexExc on Wed Jul 01, 2015 4:39 pm

I'm trying to run tests on Internet Explorer 11 working with Selenium WebDriver. The code is:
Code:
System.setProperty("webdriver.ie.driver", "Path/to//IEDriverServer.exe");
        WebDriver driver = new InternetExplorerDriver();
driver.get("google website");
driver.findElement(By.name("q"));

Error message (I cannot post the whole error message because for some reason the page thinks it has an external link):
Code:
Started InternetExplorerDriver server (64-bit)
2.46.0.0
Listening on port 43760
Exception in thread "main" org.openqa.selenium.NoSuchWindowException: Unable to find element on closed window (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 15 milliseconds
Build info: version: '2.46.0', revision: '61506a4624b13675f24581e453592342b7485d71', time: '2015-06-04 10:22:50'
System info: host: 'user1-PC', ip: '10.0.23.71', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_45'
Driver info: org.openqa.selenium.ie.InternetExplorerDriver

I tried to follow the configure tutorial on the InternetExplorer web driver page, but is still not working. And this code works on Firefox and Chrome.

AlexExc

Posts : 1
Join date : 2015-07-01

Back to top Go down

Re: Unable to find element on closed window on IE 11

Post by seluserqwb1 on Mon Jul 06, 2015 8:08 pm

Please post your question in official webdriver forum  - 
www.seleniumtests.com/p/selenium-2-forum.html

seluserqwb1
Active particpant
Active particpant

Posts : 20
Join date : 2015-06-29

Back to top Go down

Re: Unable to find element on closed window on IE 11

Post by AgoBalan on Tue Jul 07, 2015 8:12 pm

is it opening the IE brower?before throwing the error?

AgoBalan
Amateur
Amateur

Posts : 36
Join date : 2015-02-23

Back to top Go down

Re: Unable to find element on closed window on IE 11

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum