Skip to main content

A tool for inserting Robot Framework test run results into ReportPortal.

Project description

RPBot

Test Python

RPBot is a Python script to serialize Robot Framework output files into a ReportPortal. This way the future Robot Framework related tools and plugins will have a unified storage for the test run results.

RPBot is a fork of DbBot-SQLAlchemy project that is using SQLAlchemy in order to store test run results in any of the major supported database systems.

Requirements

RPBot is tested on

  • Python 3.5+
  • Robot Framework 4.0+

It may (though it is not guaranteed) work with older versions of dependencies.

How it works

The script takes one or more output.xml files as input, and stores the respective results into a ReportPortal

Installation

This tool is installed with pip with command:

$ pip install rpbot

Alternatively you can download the source distribution, extract it and install using:

$ python setup.py install

Usage

$ python -m rpbot.run <options> <rp_group_options> <output.xml>
  • options

    • -d, --dry-run: do everything except store results into ReportPortal.
    • -v, --verbose: be verbose. WARN, INFO, and DEBUG available.
  • rp_group_options

    • --RP_UUID: ReportPortal UUID. (required)
    • --RP_ENDPOINT: ReportPortal URL. (required)
    • --RP_LAUNCH: ReportPortal launch name. (required)
    • --RP_PROJECT: ReportPortal project name. (required)
    • --RP_LAUNCH_DOC: ReportPortal launch description.
    • --RP_LAUNCH_ATTRIBUTES : ReportPortal launch attributes. Space-separated list of tags/attributes. ex) "CUSTOMER:KDI PKG_VER:SVR20C"
    • --RP_TEST_ATTRIBUTES: ReportPortal test attributes. Space-separated list of tags/attributes.
  • output.xml: Output XML file of robot framework

License

RpBot is released under the Apache License, Version 2.0.

See LICENSE.TXT for details.

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

rpbot-0.4.3.tar.gz (15.3 kB view hashes)

Uploaded Source

Built Distribution

rpbot-0.4.3-py3-none-any.whl (18.4 kB view hashes)

Uploaded Python 3

Supported by

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