[Live Now] Ask Katalon Anything Episode 11 | AI in Testing & the Future-Ready Tester

HI @nimisha.r
Please refer below steps to integrate Open AI with Katalon studio.

YOu can access OpenAI in Katalon via 2 options

1St options: Use Katalon’s Built-in AI Assistant ( this is the easiest)

To integrate OpenAI with Katalon Studio, you need to configure your personal OpenAI API key inside Katalon’s built-in Katalon AI Assistant. This allows you to generate test scripts, explain code, and build custom keywords natively using GPT models.

Steps:

  1. Obtain an OpenAI API key from the OpenAI platform.

    a) Log into your account on the OpenAI Platform.
    b) Navigate to the API keys section and click Create new secret key.
    c) Go to your profile settings to note down your Organization ID

  2. Configure the API Key in Katalon Studio

  3. Open your Katalon Studio application.

  4. Open the top menu and click on Windows:

    • Windows: Go to Window > Katalon Studio Preferences.
  5. Expand the Katalon category on the left side menu, and click on the AI configuration and then click on the dropdown AI Services configuration

  6. Locate the dropdown or option for the AI provider and change it to Use Open-AI compatible provider (or Personal OpenAI Key depending on your exact version).

  7. Enter the required details and hit Apply

    This approach allows you to:

    • Generate test cases from requirements.

    • Generate Groovy code snippets.

    • Explain existing automation code.

    • Refactor scripts.

    • Get troubleshooting suggestions

      Refer the katalon document please refer below link
      Katalon AI Assistant Preferences | Katalon Docs

      How to Use the OpenAI Integration

      Once connected, you can leverage OpenAI directly inside your testing workspace through two primary methods:

      1. Script Mode (Code Generation & Explanations)

      • Generate Code: Open a test case in Script mode, write a natural language prompt as a comment, right-click the text, and choose Katalon AI Assistant > Generate Code.

      • Explain Code: Highlight any complex Groovy script block, right-click, and select StudioAssist Explain Code to quickly understand test logic.

        If you wan to to refer video about how to integrate and use ( though it covers only the Katalon AI support)
        https://www.youtube.com/watch?v=8YDd_E3T0RA&t=535s