Page 1 of 1
where to place common functions
Posted: Thu Feb 05, 2015 10:45 am
by manideep
where to place common functions which we want to use in more than one user code modules and how to call the function is there any need to give reference?
Re: where to place common functions
Posted: Thu Feb 05, 2015 11:20 am
by odklizec
Hi,
For example, you can create a new class (let's call it
Common.cs), put your functions there and then inherit this class in your modules. Check for example this post...
http://www.ranorex.com/forum/function-l ... tml#p26060
Or this blog post, with even detailed description:
http://www.ranorex.com/blog/custom-smart-actions
Another possibility is using custom dll. I believe some forum members prefer to go this way and it was already discussed in the past. Check for example this post:
http://www.ranorex.com/forum/how-to-use ... tml#p28852
Hope this helps?