Dropdown list values

Is it possible to verify or store all values available in a dropdown list?

While there is no built-in command just for that, I suggest that you use the sourceSearch command or sourceExtract (if you need to store the values) for this.

You can either make a fancy regular expression that verifies the values, or keep it simply, and just have a sourceSearch command for each value that you want to verify. E. g.

sourceSearch  | Apple  | c1
sourceSearch  | Orange | c2
sourceSearch  | Pear | c3
if {"${c1}" == "0" || "${c2}" == "0" ||  "${c3}" == "0" || }
  ThrowError ("A value is missing!")
endif
1 Like