Slack
Last updated
Last updated
SLACK PLUGIN - CLOUD
Sign in the slack or create account with https://slack.com/signin#/signin
Create a workspace if you do not have one. https://slack.com/signin#/workspaces
Go to https://api.slack.com/ and click Create a custom app
Give your app a name and select the workspace you want to use.
Go to Settings -> Manage Distribution page. Under the Share Your App with Other Workspaces enable Bots and Permissions.
Go to Features -> OAuth & Permissions. Under the Scopes section, add the necessary OAuth scopes to Bot Token Scopes. These are channels:read, chat:write or chat:write.public according to your preference, usergroups:read, users.profile:read, users:read.
From the same page, click Reinstall to Workspace button under the OAuth Tokens & Redirect URLs section for changes you made to take effect.
Copy your Bot User OAuth Access Token. Go to Testinium.
Go to Account Information
Go to Plugins. Click the Edit button of the Slack Plugin.
Paste the OAuth Access Token you have copied into the SLACK API TOKEN* box.
Click SAVE and go to the suite you want to use with Slack Plugin. Click Edit.
Go to SCHEDULE & NOTIFICATIONS section. Enable Notifications if it is not.
Select Slack as your Notification Type. In the Slack* box, give @username if you want to send Slack notification to an user otherwise give #channelname to send Slack notification to a channel.
Select Execution Status you wish and click the ADD button.
Click APPLY and SAVE and run your Suite. According to your Execution Status, Slack notification should be received.