Skip to main content

Squish tip of the week: How to add a Breakpoint in a Test Case

Adding a breakpoint in a test script is easy and can be very useful when inserting a verification point or adding missing and additional steps.

Furthermore, the breakpoint functionality can be used to see the call stack and to use the Spy to examine application object property values.

3 Ways to Set a Breakpoint

How to add a Breakpoint in a Test Case

Right-click the line number where you want to set a breakpoint and click at "Add Breakpoint".

OR

Place the mouse cursor where you want to add a breakpoint. Menu: Run > Toggle Breakpoint.

OR

Place the mouse cursor where you want to add a breakpoint and press Shift+Ctrl+B.

Possible actions once a test script has stopped at a breakpoint:
- Resume action
- Step Into action
- Step Over action
- Terminate action

Related activities:
- Remove All Breakpoints action
- Skip All Breakpoints action

Related topics

Comments