Seira20
#1
hi, is there a way to put a logical operators in conditions for the Test Recorder? something like If(variableA = 1 || variableB = 2) .
i tried to create multiple conditions separately but this will result to a skipped test when executed.

TIA
Aries
Hi @Seira20,
You can do it with RegEx, please follow this example:
-
First I will create a parameter and store this value, because we’ll need it for the the conditions later:

-
I am using “Set value to a parameter” addon (for the example), I will store random value in B:
-
In the conditions section I will put a parameter for example A=5 RegEx one of the “values”:

-
That’s it, let me know if you managed, and if you have further questions please let me know 
1 Like
Seira20
#3
Thanks Alex, it solved my problem.
@Seira20 Great, happy to hear it helped you 