This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi Team, Does anyone try selenium plugin on 7.0.1? Does it work? It works on 7.0, but when I use on 7.0.1, selenium session can not start browser by the following exception. It seems that selenium server is running, but can not start it. I tried it on several machines - Solaris and Windows. I can see the same error. Again, it works on 7.0. My environment: NetBeans IDE 7.0.1 (Build 201107160900) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 SunOS 5.11; UTF-8; ja_JP (nb) Selenium Plugin for Ant project : 1.2 Exception: java.lang.IllegalArgumentException: resource /customProfileDirCUSTFFCHROME relative to org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher not found. at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115) at com.google.common.io.Resources.getResource(Resources.java:163) at org.openqa.selenium.server.browserlaunchers.ResourceExtractor.extractResourcePath(ResourceExtractor.java:37) at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.extractProfileFromJar(FirefoxChromeLauncher.java:174) at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.makeCustomProfile(FirefoxChromeLauncher.java:216) at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launch(FirefoxChromeLauncher.java:82) at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launchRemoteSession(FirefoxChromeLauncher.java:412) at org.openqa.selenium.server.browserlaunchers.FirefoxLauncher.launchRemoteSession(FirefoxLauncher.java:109) [catch] at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:373) at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:125) at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:87) at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:785) at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:422) at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:393) at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:146) at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1530) at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1482) at org.openqa.jetty.http.HttpServer.service(HttpServer.java:909) at org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820) at org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986) at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837) at org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243) at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:357) at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
When I start selenium server outside NetBeans, % java -jar ~/.netbeans/7.0/modules/ext/selenium/selenium-server-2.0.jar It works fine. I can not see any error. So the problem happens when selenium server is started from NetBeans.
Same issue. Worked fine in 7.0 but launch browser error in 7.0.1. Specified path to browser in unit tests setup method: $this->setBrowser("*firefox C:/Program Files (x86)/Mozilla Firefox/firefox.exe"); Still reports unable to launch browser in the output window. Stop selenium server in netbeans services and run selenium from commandline. Start test again from netbeans using the same unit test with the browser path specified runs test as expected.
Thanks for reporting that. I'm going to change registration of Selenium Server totally for NB71 because of this and similar troubles.
Please could you retry that with new version which should appear on Plugin Portal UC during next few days? Thanks...
Thank you Martin for the info. It seems that these plugins are not listed on my NetBeans 7.1 yet. Is this correct? Please let me know once these are ready.
Yes, it's correct for now since the plugin is not verified for NB70 and NB71. You can download it here http://plugins.netbeans.org/plugin/37739 and install it manually. Anyway your troubles looks to be related configuration or selenium server issue. Server is up-to-date so it should help.
Thank you Martin, Verified these work fine for me. I'm using 1/10 version of selenium server and ant project on NetBeans 7.1 on Windows 7. Great!
Ok, thanks for letting me know. So closing as fixed. BTW, these new versions should be available via standard Plugin Portal UC in few days.