26 March 2013

What are the Different types of Recording modes in QTP



Recording and Run Settings:

Recording and Run Setting is a feature provided by Q.T.P, which is used for
making the Q.T.P understand on which applications will need to concentrate while
Recording and Running. This setting has to be done at least once for every new
test.

Operational Overview of Recording:

During recording Q.T.P will be during us following
1. It will generate the corresponding test script statement for every user action.
2. It will also store the required related information in the object repository.

Operational Overview of Running:

Q.T.P will be doing the following will be running
1. It will be read the script statement.
2. It will understand what action to be performed on which object.
3. When it is realizes it needs to identify that object for that it requires some
information for that information it will go to the object repository and search.
4. Once the information is identified using that information it will try to identify the
object.
5. Once the object is identify it will perform the action

Recording Modes :

There are 3 types of recording modes.
1. Contact sensitive recording mode / normal recording mode.
2. Analog recording mode.
3. Low-level recording mode.

1) Normal recording :

It is used for recording the operations perform at different contacts on the standard
GUI objects.

2) Analog Recording (Ctrl+Shift+F4):

It is used for recording the continuous operations. This mode is useful for the
operation you can record at object level such as drawing a picture, recording
signature. The steps recorded using analog mode is saved in separated data file.
Analog recording divided into two types.

1. Relative to screen :

Quicktest inserts the Run Analog step under desktop parent item. For example
Desktop, run Analog “Track1

2. Relative to window :

Quicktest inserts the Run Analog steps under a window parent item. For
example
Window (“Microsoft internet”).Run Analog “track1
The track file called by the run analog method contains all your data and is stored
with action.
Note: track0 –Fast
Track1-Normal

3).Low-level Recording :

It is special recording mode provided by Q.T.P, which is used for recording the
minimum operations on the Non-Supported environments also. Low-level-recording
for when you need to record the exact location of the operation on your application
screen-L-R supports the following
Winobject -Click, doubleclick, drag, drop, type
Window -Click, double-clicks, drag, drop, type, activate, minimize, and restore,
maxmize.
Normal Recording code for Agent name in flight reservation application.
Browser (“mercury”).page (“mercury”).webedit (Agent name).set “mercury”
Low-Level-Recording code
Wnd (“mercury”).page (“mercury”).click 564,263
Wnd (“mercury”).page (“mercury”).type “mercury”
Wnd (“mercury”).page (“mercury”).type MicTab

1 comment:

  1. Really Happy to say your post is very interesting. Keep sharing your information regularly for my future reference. Thanks Again.

    Pen testing services
    Vulnerability assessment services
    Load Testing Services
    Mobile app testing services

    ReplyDelete