How to configured and use WebDriver in the Ranorex?

Best practices, code snippets for common functionality, examples, and guidelines.
Valeriy777
Posts: 19
Joined: Wed Jun 24, 2020 1:15 pm

Re: How to configured and use WebDriver in the Ranorex?

Post by Valeriy777 » Fri Jul 03, 2020 9:14 am

Additional entries:

I opened the sample solution and try to follow https://www.ranorex.com/automated-testi ... on-demand/ guide.

In this case, I got the error

Unable to create new service: InternetExplorerDriverService Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: 'V-DDD-PC', ip: '10.10.-.-', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_221' Driver info: driver.version: unknown (InsecureCertificate)

Does this mean I don't have an IE(firefox/chromium) driver? As I know - in java those drivers should be downloaded and configured. Does possible the guide haven't full information for Selenium integration?
Last edited by Valeriy777 on Fri Jul 03, 2020 10:18 am, edited 1 time in total.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: How to configured and use WebDriver in the Ranorex?

Post by odklizec » Fri Jul 03, 2020 9:19 am

Hi,

According to the user guide, Selenium server must be started with appropriate webdriver, for given web browser you want to automate:
https://www.ranorex.com/help/latest/int ... astructure
So basically you need GeckoDriver for FF, EdgeDriver for Edge, InternetExplorerDriver for IE and ChromeDriver for Chrome.
Selenium.png
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Valeriy777
Posts: 19
Joined: Wed Jun 24, 2020 1:15 pm

Re: How to configured and use WebDriver in the Ranorex?

Post by Valeriy777 » Fri Jul 03, 2020 11:06 am

odklizec wrote:
Fri Jul 03, 2020 9:19 am
Hi,

According to the user guide, Selenium server must be started with appropriate webdriver, for given web browser you want to automate:
https://www.ranorex.com/help/latest/int ... astructure
So basically you need GeckoDriver for FF, EdgeDriver for Edge, InternetExplorerDriver for IE and ChromeDriver for Chrome.
Selenium.png
This is the reason why I had issues. Thank you - resolved.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: How to configured and use WebDriver in the Ranorex?

Post by odklizec » Fri Jul 03, 2020 11:18 am

Nice to hear that. You are welcome!
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration