Skip to main content

A listener that sends a Stack Trace to MS-Teams when a test in Robot framework fails

Project description

robotframework-webhooks

This repository contains a custom listener designed for the Robot Framework to enhance test management and immediacy in response. When a test case fails, the listener triggers an automatic notification to a specified Microsoft Teams channel using Webhooks. This ensures that the team is instantly alerted, enabling prompt investigation and action. like this example

Installation

You can install robotframework-webhooks simply by running:

pip install robotframework-webhooks

How to:

How to Create Incoming Webhooks for MS-Teams.

  • Open Apps in MS-Teams and seach for Workflows
  • Choose an instant called Post to a channel when a webhook request is received
  • Follow the steps. and choose a specific channel where error messages will be sent.
  • At the end Microsoft Teams will generate a URL link for your webhook.
  • Copy this URL and save it in your robot.toml file using the following format:
[variables]
webhook_url = "PASTE-YOUR-URL-IN-HERE"

[listeners]
webhooks = []
  • You can add the listener inside the robot.toml file, or you can call it directly using:
robot --listener webhooks <your test.robot>

Reporting Issues

If you encounter any bugs, have questions, or want to suggest improvements, please don't hesitate to open an Issues. Your feedback is valuable and helps make this project better for everyone.

Thank you for checking out this project! If you appreciate the work put into it, a ⭐ would be greatly appreciated.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_webhooks-1.1.9.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_webhooks-1.1.9-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_webhooks-1.1.9.tar.gz.

File metadata

  • Download URL: robotframework_webhooks-1.1.9.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for robotframework_webhooks-1.1.9.tar.gz
Algorithm Hash digest
SHA256 0e61a95ddad5ac2e286bcd1e533a13981bcf5d980b47582974937385882c359f
MD5 b348bf787f131f024d4ac7f6dd6b8a92
BLAKE2b-256 aa5d19fe03aaaea2dab4fd0d09c408b36769b541dedad57b47e861482eb0f4ea

See more details on using hashes here.

File details

Details for the file robotframework_webhooks-1.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_webhooks-1.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 98ff6e798aa4f3776db2653839a4b99198b8b116641548715cfa62db7dbc2de0
MD5 8feaa643c2acc149c43e30afd3e6b512
BLAKE2b-256 b0c03cb696303abf9b10719fcce295a9fe8ad672ba06344d507f216a0dd07a47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page