• Debugging Test Case – Katalon Studio | Software Testing Material

    Katalon Studio provides users the capability for debugging test scripts. Its Debug mode is designed to make debugging easy to use, allowing users to quickly investigate the issues that cause failure for their automation tests.

    The following presents the basic steps to debug a test case:

    1. Open a test case and switch to the Script view.
    Script view Katalon Studio

    2. Double click on the left-most side of the script editor to mark a breakpoint for the step you want to start debugging from.
    mark a breakpoint for the step

    3. Choose the browser for Debug from the main toolbar.
    Choose the browser for Debugging test case

    4. Confirm (select Yes) when asked to show the Debug perspective.
    the Debug perspective.

    5. The Debug perspective provides users with helpful options for the debugging purpose. Users can: 

    Navigate execution using commands from the debug toolbar.
    debug toolbar


    Command Description
     Resume debugging Resume debugging
     Suspend debugging Suspend debugging
     Terminate debugging Terminate debugging
     Disconnect Disconnect
     Step into current code block Step into current code block
     Step over current code block Step over current code block
     Return from current code block Return from current code block
     Run to specific line Run to specific line

    Track values of variables using Watch utilities.
    Watch utilities

    View Description
    Variables You can view all variables associated with the current debugged action using Variables View. This is similar to Variables View in Eclipse. Refer to this guide for more details.
    Breakpoints You can view all breakpoints using Breakpoints View. This is similar to Breakpoints View in Eclipse. Refer to this guide for more details.
    Expressions You can inspect data using Expressions View. This is similar to Expressions View in Eclipse. Refer to this guide for more details.

    6. Stop execution when you complete debugging.
    Although the debugging mode in Katalon Studio is very similar to that of the popular Eclipse IDE, we manage to retain just enough function to keep the UI clean while providing users with all required options to investigate issues when needed. If you have any suggestion or need any support, please send your request here.

    Sharing is caring.

    Share on facebook
    Share on twitter
    Share on linkedin

    Like This Post?

    We have a lot more where that came from?

    We only send really good stuff occasionally, promise.

    Rajkumar SM

    Leave a Comment

    Your email address will not be published. Required fields are marked *

    Share on facebook
    Share on google
    Share on twitter
    Share on linkedin
    Share on whatsapp

    Recent Posts:

    Scroll to Top
    API Testing eBook