In reply to hcglu:
Basically you don’t need that function if you are an DV engineer imo.
record-related functions are for vendor simulators to record transactions so that in your waveform you could display not only DUT waveform but also transactions from your TB.