I would like to pass variables as arguments in an array and then compare them with the actual values recorded during the script run.
E.g. I have defined these variables in variables tab:
Label 1 = ABC
Label 2 = 123
Label 3 = XYZ
and capturing the actual values of these labels during script run. I would like to compare these two values. Can I pass these variables like this:
Expected_Label_Array= [Label 1, Label 2, Label 3]
then using for loop compare Expected_Label_Array values and Actual Label Values?