Conditions enhancement: Allow the use of a variable/parameter on the right side of the condition
Currently a condition allows a parameter or variable on the left side but only a string on the right side of the equal/not equal sign. I would like the ability to use a parameter/variable in place of the string.

5 comments
-
We are looking at conditional improvements.
Please get a support ticket submitted by filling out the support form on https://www.ranorex.com/support-query/ and they will get your improvement logged.
Thanks,
Beth
Ranorex PM -
MRT commented
This would be a really great feature addition.
Just mirror the condition statements around the 'is equal' so one could compare
* two data source values with each other
* two variable values with each other
* a data source with a variable valueThis would make the condition really powerful and would not lead to a unmanageable test design, if this is your fear.
-
Willy Verheyden commented
Additional to this the conditional statement(s) and values should be reported in the testreport in case they are not (all) met : so to see immediately why a certain step was not executed. Maybe this can be resolved by adding an optional setting at the conditional level : report details of the conditional statements true/false for example
-
Anonymous commented
This would be a great add. It would save a lot conditions being added to multiple modules.
-
Kelly commented
Completely agree!!
I've added a work-around on the forums that allows it in the backend, but there are issues with it in the UI, although nothing that is unmanageable.
https://www.ranorex.com/forum/hidden-feature-complex-if-in-test-suite-t11434.html