Expressions

With Testerum, you can evaluate JavaScript expressions using the following template: {{expression}} These expressions can be as simple as {{12 + 44}}, more complex
{{new Date().toISOString().substr(0, 10)}} or as complex as you like:

{{
  (function(){
    var futureDate = new Date();
    futureDate.setDate(futureDate.getDate()+10);
    return futureDate.toISOString().substr(0, 10);
  })()
}}

You can use Testerum Expressions:

  • when defining a Global Variable
  • when defining a Scenario Variable
  • when defining a Run Configuration Setting
  • in any part of the Test

Useful Functions

Testerum comes with a number of pre-built functions to make it easy to write expressions.

Escape Functions

Date Functions

Using the Date pre-built functions, Testerum allows you to:
Constructor functions
Methods

Random String by Regex Function

Random Data Generation Functions

When testing, generating data as close as possible to reality might be a very useful
Methods
PERSON NAME DATA GENERATION
ADDRESS DATA GENERATION
NUMBER GENERATION
INTERNET DATA GENERATION
LOREM DATA GENERATION
FINANCE DATA GENERATION
COMPANY DATA GENERATION