C# code migration in Ranorex

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

C# code migration in Ranorex

Post by Santhosh » Wed Feb 19, 2020 6:57 am

Hello Team,

we have developed C# code in Test Complete, know we want to use the same code in Ranorex tool. is it possible?
Can Ranorex will execute the serial execution?

Thanks in Advance

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

Re: C# code migration in Ranorex

Post by odklizec » Wed Feb 19, 2020 7:57 am

Hi,

Without seeing the code in question, it's impossible to tell if it will work or not. But my best guess is that it will not. Definitely not without adapting the TestComplete code with Ranorex API (both actions and identifiers/locators).

As for the serial execution, I'm not quite sure what exactly you mean? But yes, Ranorex can execute individual test cases one after another. You can organize the test cases in Test Suite view.
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: 33
Joined: Fri Aug 10, 2018 5:51 am

Re: C# code migration in Ranorex

Post by Santhosh » Wed Feb 19, 2020 12:42 pm

Hi,

thanks for your reply.

actually we developed TC (C# coding)in Testcomplete. now we want use the same TC in Ranorex. is it possible in Ranorex?

Serial Execution: we have a 10 machine and a single script in machine A. we want to run the same script in machine B, machine C.......etc one after another.(a single floating license will interact with all machine, i.e. one by one)

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

Re: C# code migration in Ranorex

Post by odklizec » Wed Feb 19, 2020 12:54 pm

Hi,

As I mentioned, your existing TestComplete C# code will most probably not directly work in Ranorex. Ranorex uses completely different API and so the TestComplete actions and identifiers will not work with Ranorex. Not without adapting TestComplete code with Ranorex API calls (actions and repo elements/xpaths).

As for the serial execution, as you described it, then yes, this should be doable. You can achieve it either with Ranorex remote execution, or by using any commercial/free CI tool (like Jenkins, Bamboo or similar). As long as the tests are started one after another, single floating Ranorex license should be just enough for entire execution.
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: 33
Joined: Fri Aug 10, 2018 5:51 am

Re: C# code migration in Ranorex

Post by Santhosh » Fri Feb 28, 2020 8:37 am

Hi,

Thanks for the information.

Can you please share any documentation links to do the above adapting.

And also please provide me some links to understand the below
• Scheduler with HPQC tool.
• ALM and TFS integration.

Thanks in Advance.

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

Re: C# code migration in Ranorex

Post by odklizec » Fri Feb 28, 2020 8:49 am

Hi,

As for HPQC integration, check this guide:
https://www.ranorex.com/blog/running-ra ... ty-center/

As for TFS integration, check this:
https://www.ranorex.com/help/latest/int ... trol-tfvc/

For other available integration guides, check this page:
https://www.ranorex.com/integrations/

Eventually, search Ranorex page (examine mainly UserGuide and Blog links):
https://www.ranorex.com/search/?ss360Query=integration
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