Skip to main content

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

Project description

Better Not Use it

Working

robotframework-webhooks

The purpose of this repository is to automatically send only the failed test cases to MS-Teams / Slack as a listener. by adding an App "WebHook" to your preferable channel, which will generate a URL that you have to use, in order to send the results to your channal immediately. like this For example

Installation

You can install robotframework-webhooks simply by running:

pip install robotframework-webhooks

How to:

How to Create Incoming Webhooks for MS-Teams or Slack

Adding Webhook for MS-Teams
Adding Webhook for Slack


  • change the variable "url" inside __init__.py file and paste Your URL "Lib\site-packages\webhooks\__init__.py"
  • finally just run the following command:
robot --listener webhooks <your test.robot>

.features / .todo

  • Improvements idea: Make PyPi package which can installed from command line (by Tatu)
  • Did not test it with slack. yet
  • Change Message Details / improve
  • New way to add URL to End user
  • Add more ideas in here!! maybe Discord? because I guess it's possible.
  • only test it on Windows. Is it necessary for mac or linux? or irrelevant


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.0.5.tar.gz (5.6 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.0.5-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robotframework_webhooks-1.0.5.tar.gz
  • Upload date:
  • Size: 5.6 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.0.5.tar.gz
Algorithm Hash digest
SHA256 4e66544fc010fe7f79cd4f00fd89ab7d9a18b5c5aa18f084c251891e43ee12c7
MD5 01be7437203c1db510fde8e183852c4d
BLAKE2b-256 76105091c53f4be01ca8861b9731b1a878f2a2a03d8b52ab45611e24a325d7de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_webhooks-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a49aa6d60c8f70f35e2bfb0ce670d8156f651b144df872905b7aee4d8fbfa182
MD5 474854ca14e71ac985facbb8737ef80e
BLAKE2b-256 c473ad68e8362ec575ca5fb53c65a349a087400c6aae8852906b892b03079b54

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