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

Uploaded Python 3

File details

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

File metadata

  • Download URL: robotframework_webhooks-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 af769ac74fbc7642fbe4dbdc7fa645b14cea698b91cc1f5ba6728d950ae31151
MD5 ba5fab8c1012f402ba49998eb898eb58
BLAKE2b-256 bb06a8878db4e830ee88f9ab4852ae8e4a6ccf85759e11539d048fefbedd3cbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_webhooks-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bf130a2cc8d4dd2c307dd9f922d3079b44a4ba7e1f2a627c3cc611c8343496c3
MD5 33a6ccbc50c93fb7ac084b931f251c19
BLAKE2b-256 25aa394b6bc444b50eedcc1805bd6da7283320182cafef12fe083c2175ac90ac

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