Sunday, July 6, 2008

What are the recording modes in QTP?


Normal Recording mode: QuickTest's normal recording mode records the objects in your application and the operations performed on them. This mode is the default and takes full advantage of QuickTest's test object model, recognizing the objects in your application regardless of their location on the screen.

Analog Recording mode: enables you to record the exact mouse and keyboard operations you perform in relation to either the screen or the application window. In this recording mode, QuickTest records and tracks every movement of the mouse as you drag the mouse around a screen or window.

This mode is useful for recording operations that cannot be recorded at the level of an object, for example, recording a signature produced by dragging the mouse.

You cannot edit analog recording steps from within QuickTest.

The steps recorded using Analog Recording are saved in a separate data file. This file is stored with the action in which the analog steps are recorded.

When you record in Analog Recording mode, QuickTest adds to your test a ‘RunAnalogstatement that calls the recorded analog file.

When you record in analog mode relative to the screen, the run session will fail if your screen resolution or the screen location on which you recorded your analog steps has changed from the time you recorded.

Low-level Recording mode: enables you to record on any object in your application, whether or not QuickTest recognizes the specific object or the specific operation. This mode records at the object level and records all run-time objects as Window or WinObject test objects. Use low-level recording for recording in an environment or on an object not recognized by QuickTest. You can also use low-level recording if the exact coordinates of the object are important for your test .

Each step recorded in Low-Level Recording mode is shown in the Keyword View and Expert View. (Analog Recording records only the one step that calls the external analog data file.)

No comments: