Page 1 of 1

code module

Posted: Mon Oct 01, 2012 4:39 pm
by omayer
what is the difference between 'code module' and 'class'. Thank you in Advance

Re: code module

Posted: Tue Oct 02, 2012 7:58 am
by artur_gadomski
Class is programming language construct, part of C#.
Code module is Ranorex 'thing'.
So you will find classes in other c# programs but you won't find Code modules there.

Re: code module

Posted: Tue Oct 02, 2012 7:40 pm
by omayer
the reason is when i create class i can't drag and drop to the testsuite, but i can do that on codemodule

Re: code module

Posted: Wed Oct 03, 2012 11:56 am
by Support Team
Hi,

A Class is a simple C# class skeleton and a UserCode module derives from the ITestModule interface and implements the methods which are needed in order to add it to the test suite.
You can also edit the C# class in a way that you can add it to your test suite but this would make no sense.

Regards,
Markus
Ranorex Support Team

Re: code module

Posted: Wed Oct 03, 2012 7:05 pm
by omayer
Thank you Markus, All clear to me now