SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
346 stars 194 forks source link

.Net WebDriverBackedSelenium mouseOver #1014

Closed lukeis closed 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 1014

What steps will reproduce the problem?
1.  Try to use WebDriverBackedSelenium mouseOver(some xpath) with the .Net implementation
2.
3.

What is the expected output? What do you see instead?
Selenium should show a mouseOver of the element in question.  You get the following
exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target
of an invocation. ---> System.InvalidOperationException: Cannot execute script
System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.1', java.version:
'1.6.0_07'
Driver info: driver.version: ie
   at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
   at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(DriverCommand driverCommandToExecute,
Dictionary`2 parameters)
   at OpenQA.Selenium.Remote.RemoteWebDriver.ExecuteScript(String script, Object[]
args)
   at Selenium.Internal.SeleniumEmulation.JavaScriptLibrary.CallEmbeddedSelenium(IWebDriver
driver, String functionName, IWebElement element, Object[] values)
   at Selenium.Internal.SeleniumEmulation.MouseEvent.HandleSeleneseCommand(IWebDriver
driver, String locator, String value)
   at Selenium.Internal.SeleniumEmulation.SeleneseCommand.Apply(IWebDriver driver,
String[] args)
   at Selenium.WebDriverCommandProcessor.Execute(String commandName, String[] args)
   at Selenium.WebDriverCommandProcessor.DoCommand(String command, String[] args)
   at Selenium.DefaultSelenium.MouseOver(String locator)
   at EIM.Selenium.Tests.Framework.Pages.Page.MouseOverElement(String xpath) in c:\workspace\EIM-trunk\appcode\EIM\EIM.Selenium.Tests\Framework\Pages\Page.cs:line
676
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments,
SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments,
Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr,
Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr,
Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder
binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo
culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder,
Object target, Object[] args)
   at fitlibrary.Method.Invoke(Object[] theParameters)
   at fitlibrary.Method.Invoke(Fixture theFixture, IEnumerable theCells)
   at fitlibrary.FlowFixtureBase.ExecuteMethod(Method theMethod, CellRange theCells)
   at fitlibrary.FlowFixtureBase.ProcessFlowRow(Parse theCurrentRow)

What version of the product are you using? On what operating system?
selenium-dotnet-2.0a6.zip
selenium-server-standalone-2.0a7.jar 
java JDK 1.6.0_07

Please provide any additional information below.
The error shows an os.name of Windows Vista, but I'm actually on Windows 7

Reported by stephencopp on 2010-11-17 23:17:25

lukeis commented 8 years ago
Can you please re-test with 2.0b1 and report back?

Reported by jari.bakken on 2011-01-27 12:40:07

lukeis commented 8 years ago
Closing issue with status NeedsClarification for > 2 months.

Reported by jari.bakken on 2011-07-04 14:41:25

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 18:11:37