Skip to main content

Slack Notifications for App Automation

With Slack Notifications for App Automation, you can receive real-time updates about your test sessions and build summaries directly in your Slack channels. This eliminates the need to manually monitor the dashboard and keeps your entire team informed about test execution results.

Prerequisites

  • A TestMu AI account with App Automation access.
  • Slack Integration enabled on your TestMu AI account.
  • The Slack channel(s) you want to send notifications to must already exist in your Slack workspace.

Setting Up Slack Notifications

To enable Slack notifications for your App Automation tests, add the slackChannel capability to your test configuration. Notifications are sent automatically when each test session completes and when the entire build finishes execution.

Capability Reference

AttributeDetails
CapabilityslackChannel
TypeString
RequiredNo (optional)
Examplemobile-test-results

Configuration Examples

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("platformName", "Android");
capabilities.setCapability("deviceName", "Galaxy S23");
capabilities.setCapability("app", "lt://APP123456789");
capabilities.setCapability("build", "Regression Suite v2.0");
capabilities.setCapability("name", "Login Test");
capabilities.setCapability("isRealMobile", true);
capabilities.setCapability("slackChannel", "mobile-test-results");

What Notifications You Receive

TestMu AI sends two types of Slack notifications:

Notification TypeWhen It's SentWhat It Contains
Session UpdateWhen each test session completesSession name, status (passed/failed), device info
Build SummaryWhen all sessions in a build finishOverall pass/fail count, build duration, build link

How Channel Routing Works

The slackChannel capability is set at the session level. If you update the channel name in a subsequent session under the same build, notifications for that session onward are sent to the updated channel.

tip

When multiple users or multiple sessions specify different channels concurrently within the same build, all channels are merged and notifications are sent to all of them.

Fallback Behavior

If the slackChannel capability is not provided or the specified channel is invalid, TestMu AI follows this fallback logic:

  1. Channel provided and valid → Notifications are sent to the specified channel.
  2. Channel provided but invalid (e.g., channel doesn't exist or fails validation) → Notifications fall back to the default channel configured in your Slack Integration settings.
  3. No channel provided → Notifications are sent to the default channel if one is configured; otherwise, notifications are skipped silently.
Important

Slack notifications never block or impact your test execution. If a notification fails to deliver for any reason, the test continues to run normally.

Got any questions?
Please reach out at our 24x7 Chat Support or you could also mail us at [email protected].

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles