Page 1 of 1

Convert Ranorex elements to WebDriver and back

Posted: Wed Dec 13, 2017 9:36 pm
by Aracknid
Is it possible to convert a Ranorex WebElement to a WebDriver WebElement and visa versa?

For example if I have defined a variable as Ranorex.InputTag, can I convert this to a WebElement for Webdriver usage?

Can I do it the other way around too?

What about a WebDocument? If I have a Ranorex.WebDocument object (the DOM), can it be converted to a WebDriver object itself, and visa versa?

Thanks,

Aracknid

Re: Convert Ranorex elements to WebDriver and back

Posted: Mon Dec 18, 2017 11:01 pm
by Vega
As far as I know, this is not possible unless you piece them together attribute by attribute... Depending on the path you are using, you may be able to also use that path for both WebDriver and Ranorex so that is definately where I would start.