0% found this document useful (0 votes)
28 views

Debugging Methods

This document discusses various debugging techniques in QuickTest Professional (QTP), including pausing a run session, stepping into or over lines of code, stepping out of methods, running to or debugging from specific steps, and using breakpoints. Pause suspends a run session temporarily. Step Into runs the current line and displays called methods without performing them, while Step Over runs the current line and performs called methods without displaying them. Step Out runs to the end of the current method after using Step Into. Run To Step and Debug From Step allow running to or from a selected step. Breakpoints pause a run session at predetermined places in a test or function library.

Uploaded by

gouthamstrikes
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Debugging Methods

This document discusses various debugging techniques in QuickTest Professional (QTP), including pausing a run session, stepping into or over lines of code, stepping out of methods, running to or debugging from specific steps, and using breakpoints. Pause suspends a run session temporarily. Step Into runs the current line and displays called methods without performing them, while Step Over runs the current line and performs called methods without displaying them. Step Out runs to the end of the current method after using Step Into. Run To Step and Debug From Step allow running to or from a selected step. Breakpoints pause a run session at predetermined places in a test or function library.

Uploaded by

gouthamstrikes
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

DEBUGGING IN QTP

PAUSE :
Pause is used to suspend the Run Session temporarily.
STEP INTO :
1. Runs only Current Line of the Test Script
2. If Current line calls a method, the method is displayed in
the View but is not performed.
3. We can use Key F11 on the Keyboard.
STEP OVER :
1. Runs only Current Line of the Test Script
2. When a Current line calls a method, the method is
performed but is not displayed in the View.
3. We can use Key F10 on the Keyboard.
STEP OUT :
1. Runs to the End of the method then pauses the Run
Session.
2. This Method is available only when we are using STEP
INTO.
3. We can use Key Shift+F11 on the Keyboard.
RUN TO STEP :
1. Runs until the Current Step of the Test Script
2. We can use Key Ctrl+F10 on the Keyboard.
DEBUG FROM STEP :
1. Runs from the Selected step instead of starting from the
first step of the Test Script
BREAK POINT :
1. Break

Point

is

used

to

pause

Run

Session

predetermined place in a test or Function Library.


2. Insert/Remove Break Point F9

at

You might also like