Convert Ranorex elements to WebDriver and back

Ask general questions here.
User avatar
Aracknid
Posts: 342
Joined: Tue Aug 10, 2010 3:23 pm
Location: Toronto, Ontario, Canada

Convert Ranorex elements to WebDriver and back

Post by Aracknid » Wed Dec 13, 2017 9:36 pm

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

User avatar
Vega
Posts: 109
Joined: Mon Jul 11, 2016 2:15 pm

Re: Convert Ranorex elements to WebDriver and back

Post by Vega » Mon Dec 18, 2017 11:01 pm

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.