Skip to end of metadata
Go to start of metadata

General Settings

You can receive Katalon Studio notifications for Slack by enabling Slack Integration. This setting is available at Window > Katalon Studio Preferences > Katalon > Team Collaboration.

  1. Check on the Using Slack checkbox. The entire screen will be changed to editable mode. Where:

    Field

    Description

    Authentication Token

    The authentication token to make the connection to your Slack’s account. Follow this help to obtain the Slack authentication token.

    Channel/Group

    The channel/group of Slack to get messages regarding activities from Katalon Studio.

    Post the message as the authenticated user

    Katalon Studio will use your Slack username when posting messages to Slack.

    Bot Username

    You can provide another name here which Katalon Studio will use instead of your Slack username.

  2. Provide all the required information above and click Test Connection
    If the connection from Katalon Studio to your Slack team space is successfully established, you can verify as below:


  3. The Send message to Slack when displays all the actions in Katalon Studio, that will result in sending notifications to Slack.


  4. Select your preferred actions to get the notification and click OK to save Slack configuration.

    All the above preferences are saved into the file “com.kms.katalon.composer.integration.slack.prefs” under the “config\.metadata\.plugins\org.eclipse.core.runtime\.settings” location in your Katalon Studio build folder. You can manually modify the values in this file to change how Katalon Studio works with Slack.

Obtain Slack authentication token

Follow the steps below to obtain the Slack authentication token:

  1. Open your web browser and log in your Slack team space. For example: https://kms-technology-inc.slack.com
  2. Open the Slack API website in another browser tab.
  3. Click on the Create token button of the Slack API website. For example:
  4. An authentication token will be generated under the Token column. For example:

 

Verify posted messages in Slack

You can verify whether the messages are correctly sent to your Slack team space from your Katalon Studio, as below:

  1. Assume that Katalon Studio is configured to send a notification whenever a test case is created.
  2. Create an empty test case.
  3. Navigate to your chosen Slack channel/group, a message posted from Katalon Studio should be displayed.

 

  • No labels