Facebook

Course Name Start Date Time Duration Registration Link
No Training Programs Scheduled ClickHere to Contact
Please mail To sudhakar@qtpsudhakar.com to Register for any training

Thursday, February 12, 2009

Recording types in QTP

Normal Recording

This recording mode is the default recording mode.  Normal recording mode records the objects in your application and the operations performed on them.
Navigation: - Automation-->Record 
Analog Recording
Enables you to record the exact mouse movements 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.
Navigation: - Automation-->Record-->Analog Recording
Before going to use Analog or Low level recordings first select Normal recording. 
Low Level Recording
This recording mode is 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.
Navigation: - Automation-->Low level Recording

Differentiate Recordings Modes 


Normal Recording

Analog Recording

Lowlevel Recording

Records Object information based on test object model.



Records Keyboard i/p’s.



Records Mouse Clicks.





Object Information will store in object repository.



 It is possible to edit the scripts after recording with in QTP.



Recording a signature is not possible



Recorded steps will run correctly on all objects.



Support all methods for every object.



This is Default Recording method.

Records Mouse Movements respect to window or screen.



Records Keyboard i/p’s



Records Mouse clicks.





It can’t record object information.





Not possible to edit the script after recording with in QTP.



Alternative mode for recording signatures.



When we are recording with respect to window, the window object information will stores in object repository.



Analog recording and low-level recording require more disk space than normal recording mode.



Records all objects as window or win objects.



Records Keyboard i/p’s



Records mouse clicks with co-ordinates.



Records object information in the form of window or winobjects.



It is possible to edit the scripts after recording with in QTP.



Recorded steps may not run correctly on all objects.



supports the following methods for each test object:

WinObject test objects: Click, DblClick, Drag, Drop, Type

Window test objects: Click, DblClick, Drag, Drop, Type, Activate,

Minimize, Restore, Maximize


3 comments :

  1. I have a question:
    Can i use low level recording for browsers
    Because when i try doing drag and drop using low level recording in browser it is taking as window. when i run it is thowing an error.
    Can you please help me out in this.

    ReplyDelete
  2. Hi,
    I am using QTP 11 licensed; please see the following scripts
    Able to record and play but the recorded format in expert view is as below.
    Window("Microsoft Internet Explorer_5").WinObject("Internet Explorer_Server").Click 221,111
    Window("Microsoft Internet Explorer_5").WinObject("Internet Explorer_Server").Click 507,112
    Window("Microsoft Internet Explorer_5").WinObject("Internet Explorer_Server").Click 298,113
    Window("Microsoft Internet Explorer_5").Move 363,-7
    Window("Microsoft Internet Explorer_5").WinObject("Internet Explorer_Server").Type "rer"
    Window("Microsoft Internet Explorer_5").WinObject("Internet Explorer_Server").Click 596,308
    As you can see here there is no object name like WinButton , WinEdit…etc.
    Only click and move is displayed. Whether I have to change any settings in QTP or in IE9 browser.Please help me to solve this issue.
    Note:
    1. Using in windows 7 os

    ReplyDelete
    Replies
    1. Can you check what is the recording mode?

      Delete