Slack notifications
  • 15 Jan 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light

Slack notifications

  • Dark
    Light

Article summary

※ Please note that parts of this page are machine translated.


Autify offers a Slack App that sends a Slack message notifying you of test results when tests finish. Messages contain the status of each scenario in the test plan.
You can change notification settings for the entire Workspace or for each test plan.
On this page, you will learn how to set up Slack App for the whole Workspace and for each Test Plan.

How to set up and delete Slack notifications (Workspace)

Setting up Slack notifications

  1. Open the Workspace Settings Page.

  2. Click [Add to Slack].

  3. Select a Slack workspace.
    test_plan_slack_notification_integrate_1_en.png

  4. Select the channel you want notifications sent to and click [Allow].
    test_plan_slack_notification_integrate_en.png

  5. Check that Slack notifications are set up on Autify.

How to edit Slack notifications

  1. Open the Workspace Settings Page.

  2. Click [Edit].

  3. Refer to Step 3 onwards, described in "Setting up Slack notifications."

You can also specify the results of the test run for which you would like to receive notifications.
Click on the "Edit" button of the Slack notification you have configured and select the results (notification types) for which you would like to receive notifications.
D360_slack_notification_workspace_EN.png

How to disconnect Slack

  1. Open the Workspace settings page.
  2. Click [Disconnect].

How to set up and disconnect Slack notifications (Test Plan)

Setting up Slack notifications

  1. Open the Test Plan Settings Page.

  2. Click [Add] in the Slack notifications section.
    test_plan_slack_notification_add_en.png

  3. Select a Slack workspace.
    test_plan_slack_notification_integrate_1_en.png

  4. Select the channel you want notifications sent to and click [Allow].
    test_plan_slack_notification_integrate_en.png

  5. Check that Slack notification has been set up on the Test Plan Settings Page.
    The image below shows how it looks like when notifications are set up for two Slack channels.
    test_plan_slack_notification_cultiple_setting_en.png

You can also specify the results of the test run for which you would like to receive notifications.
Click on the three-dot reader to the right of the Slack notification you have configured and select the results (notification types) for which you would like to receive notifications.
you can specify which Slack notifications you want to receive: Test passed, Test passed with but need review, Test failed
D360_slack_notification_testplan_EN.png

How to delete Slack notifications

  1. Open the Test Plan Settings page.
  2. Click [Delete].
    test_plan_slack_notification_delete_en.png

How to view Slack notifications

When a test finishes, you will receive a message in the channel you chose during setup. The language used for messages is the language set in the organization's default language settings.
If a Test Plan includes multiple scenarios (2 scenarios in the image below) and all tests are successful, the following message will be sent:

slack_success_en.png

If one or more tests fail, you will receive the following message. It will include why the tests failed and links to each failed test result.
slack_failure_en.png

If you receive duplicate notifications

If you have set the same notification destination for both the entire workspace and the test plan, you will receive two identical notifications for each completed test plan execution. Please review your notification settings.

Customizing Slack Notifications

Currently, you cannot use Autify's basic functionality to customize notifications, such as sending Slack notifications only when tests fail.
You also cannot set it up so that notifications for each test plan and scenario are sent to different channels.
However, you can use webhooks to customize notifications.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.