×
Menu

Parameterize

You can parameterize your Ranorex test cases by using aqua parameters. To do so, open the Variable Manager and insert some variables.
 
 
Go into Ranorex and add a new Action as shown below:
 
Now, you can add your variable to URL by clicking on    in the URL and selecting As new variable....
A window will open where you can enter the name of the variable. This must correspond to the spelling of the variable name in aqua (in our case "URL").
 
 
 Your test case is now parameterized. The result is displayed below.
 
 
You can also use the "Variables" button to add new variables in Ranorex and use them within the actions. To replace the variables with the aqua variables, the naming must always be the same in both tools.
You can also use variables in the Ranorex repository in the same way (e.g. to open certain windows or to control buttons on an application depending on the variables). These variables can be replaced by aqua variables as well, if the naming is the same.
 
Below is an example for the use of variables at different places: