SERIAL_NUMBER

SERIAL_NUMBER is a built-in string for the serial number used in this test run. See Serial Numbers in XJRunner for information about how to configure this value. It can also be modified at runtime in XJEase but should only be done inside the NEW_SERIAL_NUMBER function.

Examples

PrintSerial()()
  PRINT(SERIAL_NUMBER);
END;
NEW_SERIAL_NUMBER()(INT result)
  STRING input := INPUTBOX("Please enter a serial number:", "Serial Number", "");

  IF input = "" THEN
    result := 1;
  ELSE
    SERIAL_NUMBER := input;
    result := 0;
  END;
END;