Search found 3 matches

by montb
Fri Nov 09, 2018 8:12 am
Forum: Automation Tools
Topic: Use of constructor arguments
Replies: 4
Views: 1512

Re: Use of constructor arguments

Hi Robin,

Thanx for your answer.
The UserCodeModules are called by the Ranorex framework, I never call them in my own code. I use them in my test suite.

Regards
Thomas
by montb
Wed Nov 07, 2018 11:29 am
Forum: Automation Tools
Topic: Use of constructor arguments
Replies: 4
Views: 1512

Re: Use of constructor arguments

Hi Robin, Thanx for your reply. Yes I have read that comment, the reason is that I would like pass a database helper class to my test modules. I use it for some performance tests that is logged in an SQL Server database. I use a static class for this purpose right now, that I would like to get rid o...
by montb
Tue Nov 06, 2018 12:03 pm
Forum: Automation Tools
Topic: Use of constructor arguments
Replies: 4
Views: 1512

Use of constructor arguments

Hi everyone, I am new to Ranorex and have been testing some scenarios. I am using Ranorex 8.3 I have a question if it is possible to pass constructor arguments to a TestModule (CodeModule)? Like this public class Test : ITestModule { private MyOtherClass other; public Test(MyOhterClass other) { this...