Page 1 of 1

Ranorex and more .NET

Posted: Tue Dec 15, 2015 10:13 am
by giuseppe.lacagnina
Hi Everyone.

I was wondering whether it is possible to include more advanced .NET features in the C# code of my projects. In particular, I would like to be able to exchange test information, at the end of the tests, to some dedicated server to improve on the reporting.

What I have in mind is to implement some mechanism to send data to some RESTful architecture.
Would that be possible?

Thanks in advance!

Re: Ranorex and more .NET

Posted: Tue Dec 15, 2015 10:32 am
by odklizec
Hi Giuseppe,

You can add almost anything you want to your Ranorex tests (as long as it's .Net 3.5 compliant). Current Ranorex Studio is based of SharpDevelop 3.2, which supports Net 3.5 and I believe it allows to compile and debug also .Net 4.0 code? So If you know what you want and how to code it in .Net, it should not be a problem to extend your tests with advanced custom code.

Re: Ranorex and more .NET

Posted: Tue Dec 15, 2015 10:51 am
by giuseppe.lacagnina
That was also my guess. Thanks!!!

Re: Ranorex and more .NET

Posted: Tue Dec 15, 2015 6:16 pm
by krstcs
Yes, SD 3.2 (and therefore Ranorex) fully supports code-completion and compile with 4.0.

You can COMPILE 4.5+ but you won't have full code-completion and some async methods are a little wonky (technical term... :D).

I actually do a lot of service calls for functional validation of the front end of our test, all in .NET in Ranorex. I have external libraries that I have created for many of them, but it all works great.

Re: Ranorex and more .NET

Posted: Wed Dec 16, 2015 5:26 pm
by giuseppe.lacagnina
I probably will not need much, but it is certainly good to know!
As the number and complexity of my test cases increase, I am thinking more and more of ways to "power up" my test suites.