Software Testing Learning Hub

Recording modes in QTP

QTPHP Quick Test Pro (QTP) offers different recording modes by which you can record and playback your tests. Recorded script can be further used as automated test cases after some re-factoring.

Lets discuss the Three Recording Modes in QTP

 There are three recording modes in QTP

  • Normal Recording
  • Low Level Recording
  • Analog Recording
  • Normal Recording-

Normal recording mode is also called Context Sensitive Mode.This is a default recording mode in QTP. This mode identifies GUI object properties and stores into object repository.Normal recording mode is not dependent on screen resolution or desktop co-ordinates.This recording mode only stores action performed on object/control.

  • Low Level Recording-

Low level recording stores mouse clicks, drag and drop, and type operations on an object. Low level recording mode identifies the object into the Window class or the WinObject class along with their attributes and stores this information in the object repository.similar to the normal recording mode this mode stores the action performed on object/control.This mode is used to record the exact X,Y coordinates of the mouse operations.It is helpful in testing hash maps.It is useful for recording objects that are not identified by normal recording mode.

  • Analog Recording-

Analog Recording mode is used to record the exact mouse and keyboard operations on the screen or on the application window.It records at object level and records all run-time objects as WinObject . QuickTest records all parent level objects as Window test objects and all other objects as WinObject .This mode is useful for the operations in drawing pictures,Recording signatures, drag and drop operations etc.

most commonly used recording mode in QTP is  Normal recording mode.