Ranorex C# script in Visual Studio

Ask general questions here.
Santhosh
Posts: 28
Joined: Fri Aug 10, 2018 5:51 am

Ranorex C# script in Visual Studio

Post by Santhosh » Thu Jun 06, 2019 8:29 am

Hello Team,
I require to create a solution in Visual Studio and want to use the C# script created in Ranorex Studio.

is there any possible ways?

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

Re: Ranorex C# script in Visual Studio

Post by odklizec » Thu Jun 06, 2019 12:14 pm

Hi,

You can, of course, integrate Ranorex with Visual Studio. You can find a description of the whole process here:
https://www.ranorex.com/help/latest/int ... tegration/

The thing is, that there are many Ranorex Studio features, which are not available in Visual Studio, like test suite structure, recording tables or repository support. Hence it's not possible to use everything written in Ranorex Studio in Visual Studio. May I ask what exactly do you hope to achieve by switching from Ranorex Studio to Visual Studio?
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

Santhosh
Posts: 28
Joined: Fri Aug 10, 2018 5:51 am

Re: Ranorex C# script in Visual Studio

Post by Santhosh » Thu Jun 06, 2019 12:22 pm

Hello,

Thanks for your reply...

This is required as we have to call other Tools apart from Ranorex to automate end to end test.
For which I need to import the Ranorex scripts in my Visual Studio Project solution.

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

Re: Ranorex C# script in Visual Studio

Post by odklizec » Thu Jun 06, 2019 12:30 pm

And why don't you simply call other tools from Ranorex test? I don't know your other tools and the whole process, but I think it would be easier to call other tools from Ranorex solution and keep all Ranorex Studio goodies, than to convert Ranorex Studio solution to VS solution. Eventually, keep the Ranorex Studio solution as is and simply call compiled tests from VS solution?
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