Using WebDriver

Ranorex Studio, Spy, Recorder, and Driver.
gvrachliotis
Posts: 8
Joined: Wed Aug 31, 2016 8:29 am

Using WebDriver

Post by gvrachliotis » Fri Sep 08, 2017 9:40 am

Hi all,

we are developing some sample tests with Ranorex/Webdriver. We have successfully setup our Selenium grid (1 hub and 1 node in remote pc) and endpoint in Ranorex Studio. We have a very basic script with 3 actions: Open Browser in login page, click username input tag, type username key sequence.

When we run test using web driver endpoint as automation root, we notice that the browser opens successfully to node pc but repository element username input tag is not recognized. Further, we noticed that all mouse actions are taking place in host pc (the one running ranorex studio) and not on the node pc. Any ideas?

Thanks,

G.

gvrachliotis
Posts: 8
Joined: Wed Aug 31, 2016 8:29 am

Re: Using WebDriver

Post by gvrachliotis » Fri Sep 08, 2017 12:26 pm

We also noticed that a localhost WebDriver endpoint works fine with our recording. On remote WebDriver endpoint, only browser is launched, mouse click and key sequence fails because of repository UI element (username input tag) not found

jma
Posts: 107
Joined: Fri Jul 03, 2015 9:18 am

Re: Using WebDriver

Post by jma » Mon Sep 11, 2017 12:46 pm

Hi,

I would suggest checking the input tag with Ranorex Spy after the test failed on the webdriver endpoint. If the endpoint was enabled, you are able to check the UI structure of the endpoint via Ranorex Spy. Please check if the searched path matches the current path of the web element.

If you need assistance, please upload a report of the failed test execution. Furthermore, please create a snapshot after the test failed. As an alternative, you could create a Ranorex Snapshot during runtime after opening the browser.

I hope this helps!