run selenium code through ranorex studio

Ask general questions here.
rsudhak
Posts: 118
Joined: Fri Jan 04, 2019 1:38 pm

run selenium code through ranorex studio

Post by rsudhak » Wed Feb 05, 2020 1:39 pm

hi,
Currently, I am facing an issue in finding elements on ranorex studio of the type WebDocument : IE, is it possible to write a selenium code to handle this and then add it as a step in ranorex studio?

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

Re: run selenium code through ranorex studio

Post by odklizec » Wed Feb 05, 2020 4:21 pm

Hi,

I seriously doubt that your problems with accessing web elements in integrated browser (discussed here) will be easier to solve with Selenium. Ranorex alone is not capable of writing and running Selenium-based tests. But of course, because Ranorex is a fully featured .NET IDE, you are able to write and run Selenium code via C# code. The problem is, that you will have to figure it out yourself. There are no Ranorex-based tutorials for writing Selenium code.

You can start with checking links in this post...
https://www.ranorex.com/forum/is-there- ... 15276.html
This could help too:
https://www.guru99.com/selenium-csharp-tutorial.html

Basically, you must install Selenium Webdriver nuget package to project of our choice. And then you must learn how to write C# based Selenium code using google search ;)
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