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.8.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.8-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robotframework_webhooks-1.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 c3cf6580f80c6c5f335ff316d855397d537e62b3851bcb8e87aca84207517d3c
MD5 8f5d3d99bedfdffcde88517d013b0f1b
BLAKE2b-256 9ab7ab03c2998d3763704cc72c90a95b361091a308860475e46dbac5b238b1fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_webhooks-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 35e975ab80f9140ff5d5c7f80da0e3a6e151871a89c7ba3284eb327b76279bc2
MD5 c96ac925d766571fb92689fbd3c54cf8
BLAKE2b-256 dd74a08aff1364d0fd9bdb9c14a17af93d9da10e17e942bed9a94b46551e9d1e

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