How To make use of Ranorex 3 features in a 2.3.9 Solution
Posted: Thu Jul 19, 2012 1:15 pm
Hi all,
I recently upgraded from 2.3.9 to 3.3.1.
Opening the (old) Solution succeeded and with just a very few minor corrections it worked out of the box.
It mostly consists of self-coded classes, rather than recordings.
There are some handful of projects in my solution, which
The new (3.x) features - variables in RxPaths, DataBinding, Global Variables, etc. - look very promising.
I also read through the new User Guide and through Working with 2.X Projects in 3.X Test Suites, but that doesn't answer my below questions.
I didn't get a feeling for what to do to make TestSuites working in my imported Solution.
Because I cannot create TestSuite files (rxtst), just ModuleGroups (rxtmg) can be created.
I already tried with a new Solution (then there's one TestSuite in the default project), but further importing my old Projects doesn't make a difference to the "import Solution" case.
So I digged in a bit and it seems that my old classes need to extend ITestModule. Basically I use
That way I can add my old classes to Module Groups, ok so far.
My questions:
thanks and best,
Björn
I recently upgraded from 2.3.9 to 3.3.1.
Opening the (old) Solution succeeded and with just a very few minor corrections it worked out of the box.
It mostly consists of self-coded classes, rather than recordings.
There are some handful of projects in my solution, which
The new (3.x) features - variables in RxPaths, DataBinding, Global Variables, etc. - look very promising.
I also read through the new User Guide and through Working with 2.X Projects in 3.X Test Suites, but that doesn't answer my below questions.
I didn't get a feeling for what to do to make TestSuites working in my imported Solution.
Because I cannot create TestSuite files (rxtst), just ModuleGroups (rxtmg) can be created.
I already tried with a new Solution (then there's one TestSuite in the default project), but further importing my old Projects doesn't make a difference to the "import Solution" case.
So I digged in a bit and it seems that my old classes need to extend ITestModule. Basically I use
void ITestModule.Run() { Start(); }which just calls the old Start(); method.
That way I can add my old classes to Module Groups, ok so far.
My questions:
- is that way (create rxtmg files manually, let my old classes extend ITestModule, add them to ModuleGroups) the correct way?
- how to create TestSuites (rxtmg) for my old projects properly?
- do variables in RxPath and DataBindings work in "from Ranorex 2.3.x imported" repos/files (I suppose yes, if I manage to get ModuleGroups and TestSuites working)?
- any caveats in the above approach?
thanks and best,
Björn