Page 1 of 1

Upgrade from version 3.3.1 to 5.0.2

Posted: Thu May 22, 2014 3:56 pm
by martinacc
Hello,

We are still running with version 3.3.1 (runtime and studio). I had a couple of questions before we upgrade to 5.0.2
All of our scripts were recorded against a FLEX (v3.5) application.

- Can we upgrade directly from 3.3.1 to 5.0.2?
- Compiled scripts (EXE) and DLL (3.3.1) will be backward compatible without recompiling them with 5.0.2 after the upgrade?
- Know issues of FLEX recorded scripts from 3.3.1 to 5.0.2?

Thank you,
Martin

Re: Upgrade from version 3.3.1 to 5.0.2

Posted: Fri May 23, 2014 2:56 pm
by krstcs
You will need (and want) to re-compile all of your scripts with 5.0.2. You will also need to upgrade EVERY install of Ranorex to 5.0.2.

There have been changes in Ranorex 4 and 5 that break some things in earlier versions. There have also been some improvements to the system that you will want to have.

I would suggest that you upgrade one system only, then recompile your tests on that system and run them from there to make sure they work. You can then make any changes you need and test the test as needed without upgrading everything at once and running into serious problems.

If you don't use a source code versioning system, I would recommend that before you start the upgrade.


The upgrade shouldn't be too big of a deal, but you don't want to get caught by issues.

Re: Upgrade from version 3.3.1 to 5.0.2

Posted: Fri May 23, 2014 3:03 pm
by Support Team
Hi Martin,

Regarding your questions:
Add 1: Yes, you can directly upgrade to 5.0.2.
Add 2: You are asking if it is possible to reference older Ranorex libraries, right?
If so, I unfortunately have to say that we have an issue with the data binding of variables of modules from a referenced Ranorex DLL or EXE when the DLL or EXE was built with an other version than the version of the main solution. This issue should be fixed with 5.1. It should then be possible to reference older Ranorex libraries.
Add 3: There were a lot of changes between 3.3.1 and 5.0.2, so I would suggest to carefully read the Release Notes, in special the parts about the breaking changes of Ranorex 4.X and Ranorex 5.X.

Furthermore it is always a good idea to have a backup of the original files, in case something unexpected happens.

Regards,
Markus