Selenium Endpoint - Cannot perform a local keyboard action

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Speedboat
Certified Professional
Certified Professional
Posts: 31
Joined: Wed Mar 25, 2015 4:44 pm
Location: Switzerland

Selenium Endpoint - Cannot perform a local keyboard action

Post by Speedboat » Fri May 05, 2017 1:10 pm

Hi

I installed Selenium Standalone Driver with local Endpoint as 'WebDriver'
Connection works fine.

Ranorex tries to click on a text item
Test Case fails and report says:
"Cannot perform a local keyboard action on a mobile element"

I checked that the Endpoint is really a WebDriver.
Any Idea why Ranorex thinks it is on a mobile device?

Many thanks,
Speedboat

Windows 10 / 64 bit
Ranorex 7.0.1
Selenium Standalone 3.4.0
Firefox 53.0 (32bit)
Last edited by Speedboat on Fri May 05, 2017 2:28 pm, edited 1 time in total.

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Selenium Endpoint - Cannot perform a local keyboard action

Post by krstcs » Fri May 05, 2017 1:53 pm

Ranorex 6.2.1 does not work with WebDriver. WebDriver requires Ranorex 7.0+. Are you sure that is the version you are using?
Shortcuts usually aren't...

Speedboat
Certified Professional
Certified Professional
Posts: 31
Joined: Wed Mar 25, 2015 4:44 pm
Location: Switzerland

Re: Selenium Endpoint - Cannot perform a local keyboard action

Post by Speedboat » Fri May 05, 2017 2:27 pm

Thanks, Sorry

(6.2.1. was installed before)
Off course Ranorex 7.0.1 is installed (would not see endpoint selection either

Speedboat

qwertzu
Posts: 178
Joined: Wed Jan 25, 2017 11:08 am

Re: Selenium Endpoint - Cannot perform a local keyboard action

Post by qwertzu » Mon May 08, 2017 12:42 pm

Hello Speedboat,

This error message may appear, when you are trying to perform a "Mobile Key Press"-action during a Selenium test.
Please make sure to only use "Mouse"-actions in order to click on buttons and "Key Sequence"-actions in order to write text into input fields.

regards,

qwertzu