Data by Example Function

The $ByExample function generates test data based on sample values provided by the user.
The function accepts a list of samples divided by ','.


  • Minimum recommended number of examples is 3.
  • Use extra () quoting for values with comma inside.


  • $ByExample(Abc,Cdb,Edc) will generate strings with 3 letters that starts with capitalized letter.
  • $ByExample((A,c),(R,b),(E,c)) will generate strings with upper letter, comma and lower letter.