SatelliteQE / betelgeuse

Betelgeuse reads standard Python test cases and offers tools to interact with Polarion.
GNU General Public License v3.0
12 stars 20 forks source link

Allow sending files to Polarion #111

Open omaciel opened 6 years ago

omaciel commented 6 years ago

More info will be added here shortly.

geetikakay commented 6 years ago
 We are using Betelgeuse.Do we have an option for uploading document
using Betelgeuse  in polarion Attachments?

This is going to help in case we wanted to add multiple log files and configuration files. Sometimes we wanted to store the whole procedure which is really hard to put in docstrings due to parsing issues.

elyezer commented 6 years ago

@geetikakay uploading documents can be done by using WSDL. The plan for this issue is to offer a way to do a POST to request the XML import to happen.

geetikakay commented 6 years ago

@elyezer In my case i need to add 2-3 files in every test case and there are around 50 test cases.Doing it manually is a pain.So are we going to POST attachment based on uuid that gets generated?

elyezer commented 6 years ago

@geetikakay you can use Betelgeuse as library and use its test collection tools so you can inspect the test case docstring fields. With the ID information you can figure out the files and use WSDL library to upload them.

The idea of Betelgeuse is to make easier to use the XML importers and we avoid duplicating any feature that WSDL interface offers.

PS: we talked on IRC but I wanted to leave this comment here for other looking for the outcome of this issue.