Some people do use FRAPS, but Trainz has a built-in frame-rate counter in its title bar. The title bar will obviously be visible if you are running Trainz in windowed mode, but if you are running it in full-screen mode, then you will need to minimize it, such as by pressing the Windows logo key on your keyboard. You will then see the FPS on the task bar.
Regards,
Retro.