×
Menu

Migrating a project

This manual describes how to migrate test cases which are automated with Ranorex from one aqua Server to another.
 
 
1.     Create the same scripts (Same Name and Namespace!) on your target system, like on your source system.
2.     Create dependencies between the scripts. This makes sense, especially to reuse the repository and the user code module.
 
 
 
3.     Create a test case which contains all scripts on both aqua environments.
 
 
 
4.     Export the variables of the original test cases via the variable manager on the source system
5.     Open the external editor (Ranorex) on your source system and open the folder, which contains the solution (Right-click on solution --> Open folder).
6.     Copy this folder and delete the Main.cs file in all sub folders which contain scripts.
 
 
7.     Open the test case you created in step 3 on your target system.
8.     Open the folder which contains the solution and copy the folder you copied in step 6 to this destination (without Main.cs files!).
9.     If the correct recordings are not found, show them via the button Show all files and add them to the project (Right click --> Include in Project).
 
 
10.     Edit the following to lines in the Main.cs files, so that the correct Recordings are called (yellow marked)
 
 
11.     Compile the project in Ranorex. Close Ranorex and save the test case in aqua.
12.     Create all test cases with the scripts in your target system and import the variables you exported in step 4 via variable manager.