QTP provides 3 modes of Recording:
- Normal Recording mode: The default recording method is always the normal mode. This method uses the model of Test Objects and Runtime objects to learn and act on the AUT.
- Analog recording mode: Records the exact mouse and keystrokes that the user performs in relation to either the screen or the AUT window. The steps that are recorded using this method cannot be edited.
The way this usually gets represented in code is:
One scenario in which this type of recording can be used is when we are trying to capture a signature.
- Low-Level recording mode: This mode records the coordinates in the application where the operation is performed, irrespective of whether QTP recognizes the specific Object or Operation.