QTP Recording and Running Modes

Recording Modes:

In QTP, there are Three (3)Recording Modes they are.,

1)  Context Sensitive Mode:
In this mode QTP Records the operations which are performed on the objects. Context Sensitive Mode is also called as “Standard Recording Mode / Normal Recording Mode”. Context Sensitive Mode is default Recording Mode in QTP.

2)  Analog Recording Mode:
In this mode QTP records the Mouse and Keyboard Operations with respective to Window (or) Desktop co-ordinates.Generally we use Analog Recording Mode to compare “Digital Signatures, Barcodes, Scientific Graphs etc.,

Navigation:
Start  Recording  (F3)-->Automation  Menu-->Analog  Recording.
Analog  Recording  Settings (Shift  +  Alt  +  F3)
Click on hand icon-->Start Analog Record-->Record your required Operation-->Stop Recording (F4)

Note:In Context Sensitive Mode, QTP Generate one statement for each operation. But in Analog Recording Mode, QTP Generates single statement for all the operations which you perform on the application.
In Analog Recording Mode, if you take Desktop Co-ordinates, you can get wrong output, if application is moved from one place to another place at Run Time. If you take Window co-ordinates, we can get correct output even if the application moved from one place to another place.
3)Low Level Recording Mode:
We can use this mode to record the operations which are not recognized by Tool.We give low priority to this recording mode.
 Navigation:
Start Recording (F3) Automation Menu-->Low Level Recording Mode (Crtl + Shift + F3)-->Record your required Operation-->Stop Recording (F4)

Note:If you want to select Analog Recording Mode or Low Level Recording Mode you must be under Context Sensitive Mode.

Running Modes:

In QTP, there are Three (3) Running Modes they are.,

1)  Verify Mode:
To compare expected value with Actual value and Return results.
2)  Update Run Mode:
To update Test or Component.
3)  Debugging:
Whether the script is smoothly executing or not without any interruptions.

Note:Verify Mode is the default Running Mode in QTP.Maintenance Run Mode is the extra Run Mode in QTP 9.5 than 9.2.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.