Types of Recording Modes in QTP, Quick Test Professional supports 3 Three types of Recording Modes



Types of Recording Modes in QTP, Quick Test Professional supports 3 Three types of Recording Modes

This session will explained you the three types of recording modes for QTP..

Normally QTP support the 3 types of recording mode:
  1. Context Sensitive
  2. Analog
  3. Low Level

Recording Mode Types Context Sensitive:

  1. Context Sensitive mode mean Normal Recording Mode
  2. The default mode of recording of QTP is called Context Recording Mode. This default mode takes the full benefit of test object model of Quick Test Professional.
  3. This mode identifies the instance / object in running application instead of related locations on the available screen.
  4. This mode auto records the objects in our application and performed the operations on them

Analog Recording Mode:

  1. QTP records the every activities of the mouse also as the user will drag the mouse or other device around the screen window and also tracks all these movements. This is called Analog Recording Mode.
  2. Analog Recording of QTP is stored in the directory of your test and captured as Tracks.
  3. QTP Analog Recording is useful for the operations of recording but it can not be recorded on the level of an instance / object. i.e. A signature generated by dragging the mouse.
  4. Analog mode can be record by two ways : a) Record Relative to Screen And b) Relative to window
  5. You need to relative to window when your operations of analog are limited to just single window.
  6. Then when user analog process includes several screens like dropping and dragging an instances / objects from one window to another using screen option.

Low Level Mode:
  1. In Your Application low level mode will enable you to record on any required object, regardless of QTP that identifies the specific instance or the specific process.
  2. It records all the run time objects and at the object level as either Window or the WinObject test object or instances ….
  3. This mode should be used when your tests required the exact co-operations of the object. One Nice and right example can be – Hashmaps where clicking on different sections of a picture takes to user on different -2 links.
  4. When an object not identified by QTP then used to recording tests in an environment.
  5. This mode can records the x,y coordinates of any click.

Some Differences :
  1. Compare to normal recording mode Analog and low lever occupy more space on disk.
  2. During the Run time and recording the script, The screen positions needs to be unique otherwise script will fail..
  3. When normal recording mode doesn't record the process properly only then analog or low level recording should use.
  4. When objects or environments doesn't supported by QTP then QTP automatically switches to next step low level mode.



















    Android Install Apps to SD Card Default
    Developer vs Tester a fake competition


    QTP TESTING STEPS How to Record a QTP Script






No comments:

Post a Comment

Popular Posts