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.
RPBot is tested on
Python
3.5+Robot Framework
4.0+
It may (though it is not guaranteed) work with older versions of dependencies.
The script takes one or more output.xml
files as input, and stores
the respective results into a ReportPortal
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
$ 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
RpBot is released under the Apache License, Version 2.0
.
See LICENSE.TXT for details.