Hello,
I have a new test that's getting NS_ERROR_FAILURE after calling a
method that has been stable for months. The method works fine for
dozens of existing tests.
Previous posts suggest that this error is in conjunction with using
cookies however none of the tests use WebDriver to manipulate cookies.
Can someone please suggest a course of action here?
WebDriver Alpha 5
Windows XP Pro
NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13
FireFox 3.6.8
Alpha 3 showed the error so I upgraded to Alpha 5 but that shows the
same error.
Thanks,
Dave
Testcase:
test_SaveAs_Private_DefaultFolder(com.xxx.wb.webdriver.user.SaveAs):
Caused an ERROR
[Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsINativeEvents.click]" nsresult: "0x80004005
(NS_ERROR_FAILURE)" location: "JS frame ::
file:///C:/DOCUME~1/DAVEEL~1/LOCALS~1/Temp/webdriver3521232324423808271profile/extensions/
fxdr...@googlecode.com/components/driver-component.js
->
file:///C:/DOCUME~1/DAVEEL~1/LOCALS~1/Temp/webdriver3521232324423808271profile/extensions/
fxdr...@googlecode.com/components/wrappedElement.js
:: anonymous :: line 82" data: no] (Note: The stack trace from the
server side is missing. The locally-generated stack trace is useless.)
java.lang.UnsupportedOperationException: [Exception... "Component
returned failure code: 0x80004005 (NS_ERROR_FAILURE)
[nsINativeEvents.click]" nsresult: "0x80004005 (NS_ERROR_FAILURE)"
location: "JS frame ::
file:///C:/DOCUME~1/DAVEEL~1/LOCALS~1/Temp/webdriver3521232324423808271profile/extensions/
fxdr...@googlecode.com/components/driver-component.js
->
file:///C:/DOCUME~1/DAVEEL~1/LOCALS~1/Temp/webdriver3521232324423808271profile/extensions/
fxdr...@googlecode.com/components/wrappedElement.js
:: anonymous :: line 82" data: no] (Note: The stack trace from the
server side is missing. The locally-generated stack trace is useless.)
at java.lang.reflect.Constructor.newInstance(Constructor.java:
513)
at
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:
104)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:
340)
at
org.openqa.selenium.firefox.FirefoxDriver.execute(FirefoxDriver.java:
237)
at
org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:
186)
at
org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:
55)
at com.xxx.wb.webdriver.lib.TestBase.myClick(TestBase.java:987)