Какая версия Opera? Рекомендую установить 11.60 -- http://www.opera.com/browser/beta/
Если это не поможет, тогда нужна информация, на какой страничке это всё происходит.
использую как раз 11.60
driver.findElement(By.xpath("//a[text()='Data Sources']")).click();
почему-то при загрузке страницы браузером вылетает данный эксепшен.
rg.openqa.selenium.WebDriverException: No response on executing JS command
Build info: version: '2.14.0', revision: '14955', time: '2011-11-29 11:42:43'
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.7.0_01'
Driver info: driver.version: OperaDriver; duration or timeout: 3.77 seconds
Build info: version: '2.14.0', revision: 'unknown', time: '2011-11-29 13:13:16'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_01'
Driver info: driver.version: RemoteWebDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:147)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:113)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:400)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:231)
at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:72)
at com.uitests.TestOpera.test(TestOpera.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:691)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:883)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1208)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:758)
at org.testng.TestRunner.run(TestRunner.java:613)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1137)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1062)
at org.testng.TestNG.run(TestNG.java:974)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:109)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:202)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:173)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:106)
Caused by: org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken
Build info: version: '2.14.0', revision: 'unknown', time: '2011-11-29 13:13:16'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_01'
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:101)
... 29 more
Caused by: org.openqa.selenium.WebDriverException: No response on executing JS command
Build info: version: '2.14.0', revision: '14955', time: '2011-11-29 11:42:43'
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.7.0_01'
Driver info: driver.version: OperaDriver
Build info: version: '2.14.0', revision: 'unknown', time: '2011-11-29 13:13:16'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_01'
Driver info: driver.version: OperaDriver
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger.eval(EcmaScriptDebugger.java:265)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger.eval(EcmaScriptDebugger.java:274)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger.eval(EcmaScriptDebugger.java:262)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger.eval(EcmaScriptDebugger.java:274)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger.eval(EcmaScriptDebugger.java:262)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger.eval(EcmaScriptDebugger.java:274)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger.eval(EcmaScriptDebugger.java:262)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger.eval(EcmaScriptDebugger.java:274)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger.eval(EcmaScriptDebugger.java:262)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger.eval(EcmaScriptDebugger.java:274)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger.eval(EcmaScriptDebugger.java:262)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger6.executeScript(EcmaScriptDebugger6.java:134)
at com.opera.core.systems.scope.services.ums.EcmaScriptDebugger6.executeScript(EcmaScriptDebugger6.java:128)
at com.opera.core.systems.scope.AbstractEcmascriptService.executeJavascript(AbstractEcmascriptService.java:151)
at com.opera.core.systems.scope.AbstractEcmascriptService.executeJavascript(AbstractEcmascriptService.java:147)
at com.opera.core.systems.OperaDriver.waitForLoadToComplete(OperaDriver.java:912)
at com.opera.core.systems.OperaWebElement.click(OperaWebElement.java:207)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement$1.invoke(EventFiringWebDriver.java:325)
at $Proxy3.click(Unknown Source)
at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement.click(EventFiringWebDriver.java:338)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.openqa.selenium.remote.server.KnownElements$1.invoke(KnownElements.java:62)
at $Proxy4.click(Unknown Source)
at org.openqa.selenium.remote.server.handler.ClickElement.call(ClickElement.java:30)
at org.openqa.selenium.remote.server.handler.ClickElement.call(ClickElement.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)