robotframework-robotlog2rqm 1.2.0__tar.gz → 1.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/PKG-INFO +62 -23
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/README.rst +64 -36
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/CRQM.py +114 -111
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/RobotLog2RQM.pdf +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/__init__.py +1 -1
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/__main__.py +2 -2
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/robotlog2rqm.py +35 -35
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/version.py +3 -3
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/robotframework_robotlog2rqm.egg-info/PKG-INFO +62 -23
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/setup.py +1 -1
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/LICENSE +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/RQM_templates/buildrecord.xml +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/RQM_templates/configuration.xml +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/RQM_templates/executionresult.xml +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/RQM_templates/executionworkitem.xml +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/RQM_templates/suiteexecutionrecord.xml +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/RQM_templates/testcase.xml +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/RobotLog2RQM/RQM_templates/testsuitelog.xml +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/robotframework_robotlog2rqm.egg-info/SOURCES.txt +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/robotframework_robotlog2rqm.egg-info/dependency_links.txt +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/robotframework_robotlog2rqm.egg-info/entry_points.txt +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/robotframework_robotlog2rqm.egg-info/requires.txt +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/robotframework_robotlog2rqm.egg-info/top_level.txt +0 -0
- {robotframework-robotlog2rqm-1.2.0 → robotframework-robotlog2rqm-1.2.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: robotframework-robotlog2rqm
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.3
|
|
4
4
|
Summary: Imports robot result(s) to IBM Rational Quality Manager (RQM)
|
|
5
5
|
Home-page: https://github.com/test-fullautomation/robotframework-robotlog2rqm
|
|
6
6
|
Author: Tran Duy Ngoan
|
|
@@ -49,24 +49,63 @@ How to install
|
|
|
49
49
|
pip install RobotLog2RQM
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
[RobotLog2RQM in
|
|
52
|
+
[RobotLog2RQM in
|
|
53
|
+
PyPi](https://pypi.org/project/robotframework-robotlog2rqm/)
|
|
53
54
|
|
|
54
55
|
2. Installation via GitHub (recommended for developers)
|
|
55
56
|
|
|
56
|
-
Clone the **
|
|
57
|
+
- Clone the **robotframework-robotlog2rqm** repository to your
|
|
58
|
+
machine.
|
|
57
59
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
``` {.}
|
|
61
|
+
git clone https://github.com/test-fullautomation/robotframework-robotlog2rqm.git
|
|
62
|
+
```
|
|
61
63
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
+
[RobotLog2RQM in
|
|
65
|
+
GitHub](https://github.com/test-fullautomation/robotframework-robotlog2rqm)
|
|
64
66
|
|
|
65
|
-
|
|
67
|
+
- Install dependencies
|
|
66
68
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
**RobotLog2RQM** requires some additional Python libraries.
|
|
70
|
+
Before you install the cloned repository sources you have to
|
|
71
|
+
install the dependencies manually. The names of all related
|
|
72
|
+
packages you can find in the file `requirements.txt` in the
|
|
73
|
+
repository root folder. Use pip to install them:
|
|
74
|
+
|
|
75
|
+
``` {.}
|
|
76
|
+
pip install -r ./requirements.txt
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Additionally install **LaTeX** (recommended: TeX Live). This is
|
|
80
|
+
used to render the documentation.
|
|
81
|
+
|
|
82
|
+
- Configure dependencies
|
|
83
|
+
|
|
84
|
+
The installation of **RobotLog2RQM** includes to generate the
|
|
85
|
+
documentation in PDF format. This is done by an application
|
|
86
|
+
called **GenPackageDoc**, that is part of the installation
|
|
87
|
+
dependencies (see `requirements.txt`).
|
|
88
|
+
|
|
89
|
+
**GenPackageDoc** uses **LaTeX** to generate the documentation
|
|
90
|
+
in PDF format. Therefore **GenPackageDoc** needs to know where
|
|
91
|
+
to find **LaTeX**. This is defined in the **GenPackageDoc**
|
|
92
|
+
configuration file
|
|
93
|
+
|
|
94
|
+
``` {.}
|
|
95
|
+
packagedoc\packagedoc_config.json
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Before you start the installation you have to introduce the
|
|
99
|
+
following environment variable, that is used in
|
|
100
|
+
`packagedoc_config.json`:
|
|
101
|
+
|
|
102
|
+
- `GENDOC_LATEXPATH` : path to `pdflatex` executable
|
|
103
|
+
|
|
104
|
+
- Use the following command to install **RobotLog2RQM**:
|
|
105
|
+
|
|
106
|
+
``` {.}
|
|
107
|
+
python setup.py install
|
|
108
|
+
```
|
|
70
109
|
|
|
71
110
|
After succesful installation, the executable file **RobotLog2RQM** will
|
|
72
111
|
be available (under *Scripts* folder of Python on Windows and
|
|
@@ -89,15 +128,15 @@ Use below command to get tools\'s usage:
|
|
|
89
128
|
|
|
90
129
|
The usage should be showed as below:
|
|
91
130
|
|
|
92
|
-
usage: RobotLog2RQM (RobotXMLResult to RQM importer) [-h] [-v] [--recursive]
|
|
93
|
-
[--createmissing] [--updatetestcase] [--dryrun]
|
|
131
|
+
usage: RobotLog2RQM (RobotXMLResult to RQM importer) [-h] [-v] [--recursive]
|
|
132
|
+
[--createmissing] [--updatetestcase] [--dryrun]
|
|
94
133
|
resultxmlfile host project user password testplan
|
|
95
134
|
|
|
96
|
-
RobotLog2RQM imports XML result files (default: output.xml) generated by the
|
|
135
|
+
RobotLog2RQM imports XML result files (default: output.xml) generated by the
|
|
97
136
|
Robot Framework into an IBM Rational Quality Manager.
|
|
98
137
|
|
|
99
138
|
positional arguments:
|
|
100
|
-
resultxmlfile absolute or relative path to the xml result file
|
|
139
|
+
resultxmlfile absolute or relative path to the xml result file
|
|
101
140
|
or directory of result files to be imported.
|
|
102
141
|
host RQM host url.
|
|
103
142
|
project project on RQM.
|
|
@@ -108,13 +147,13 @@ The usage should be showed as below:
|
|
|
108
147
|
optional arguments:
|
|
109
148
|
-h, --help show this help message and exit
|
|
110
149
|
-v, --version Version of the RobotLog2RQM importer.
|
|
111
|
-
--recursive if set, then the path is searched recursively for
|
|
150
|
+
--recursive if set, then the path is searched recursively for
|
|
112
151
|
log files to be imported.
|
|
113
|
-
--createmissing if set, then all testcases without tcid are created
|
|
152
|
+
--createmissing if set, then all testcases without tcid are created
|
|
114
153
|
when importing.
|
|
115
|
-
--updatetestcase if set, then testcase information on RQM will be updated
|
|
154
|
+
--updatetestcase if set, then testcase information on RQM will be updated
|
|
116
155
|
bases on robot testfile.
|
|
117
|
-
--dryrun if set, then verify all input arguments
|
|
156
|
+
--dryrun if set, then verify all input arguments
|
|
118
157
|
(includes RQM authentication) and show what would be done.
|
|
119
158
|
|
|
120
159
|
The below command is simple usage witth all required arguments to import
|
|
@@ -146,12 +185,12 @@ importing into RQM:
|
|
|
146
185
|
|
|
147
186
|
*** Test Cases ***
|
|
148
187
|
Testcase 01
|
|
149
|
-
[Documentation] This test is traceable with provided tcid
|
|
188
|
+
[Documentation] This test is traceable with provided tcid
|
|
150
189
|
[Tags] TCID-1001 FID-112 FID-111 robotfile-https://github.com/test-fullautomation
|
|
151
190
|
Log This is Testcase 01
|
|
152
191
|
|
|
153
192
|
Testcase 02
|
|
154
|
-
[Documentation] This new testcase will be created if --createmissing argument
|
|
193
|
+
[Documentation] This new testcase will be created if --createmissing argument
|
|
155
194
|
... is provided when importing
|
|
156
195
|
[Tags] FID-113 robotfile-https://github.com/test-fullautomation
|
|
157
196
|
Log This is Testcase 02
|
|
@@ -203,7 +242,7 @@ Contributors
|
|
|
203
242
|
License
|
|
204
243
|
-------
|
|
205
244
|
|
|
206
|
-
Copyright 2020-
|
|
245
|
+
Copyright 2020-2024 Robert Bosch GmbH
|
|
207
246
|
|
|
208
247
|
Licensed under the Apache License, Version 2.0 (the \"License\"); you
|
|
209
248
|
may not use this file except in compliance with the License. You may
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.. Copyright 2020-
|
|
1
|
+
.. Copyright 2020-2024 Robert Bosch GmbH
|
|
2
2
|
|
|
3
3
|
.. Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
you may not use this file except in compliance with the License.
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
RobotLog2RQM Description
|
|
16
16
|
========================
|
|
17
17
|
|
|
18
|
-
The Python package **RobotLog2RQM** provides ability to import `Robot Framework
|
|
19
|
-
test result`_ as ***.xml** format file(s) to `IBM® Rational® Quality Manager`_
|
|
18
|
+
The Python package **RobotLog2RQM** provides ability to import `Robot Framework
|
|
19
|
+
test result`_ as ***.xml** format file(s) to `IBM® Rational® Quality Manager`_
|
|
20
20
|
(RQM) for test management.
|
|
21
21
|
|
|
22
22
|
**RobotLog2RQM** tool helps to:
|
|
23
23
|
|
|
24
|
-
* Create all required resources (*Test Case Excution Record*, *Test Case
|
|
24
|
+
* Create all required resources (*Test Case Excution Record*, *Test Case
|
|
25
25
|
Execution Result*, ...) for new testcase on RQM.
|
|
26
26
|
* Link all testcases to provided testplan.
|
|
27
27
|
* Add new test result for existing testcase on RQM.
|
|
28
28
|
* Update existing testcase on RQM.
|
|
29
29
|
|
|
30
|
-
**RobotLog2RQM** tool is operating system independent and only works with
|
|
30
|
+
**RobotLog2RQM** tool is operating system independent and only works with
|
|
31
31
|
Python 3.
|
|
32
32
|
|
|
33
33
|
How to install
|
|
@@ -41,36 +41,64 @@ How to install
|
|
|
41
41
|
|
|
42
42
|
pip install RobotLog2RQM
|
|
43
43
|
|
|
44
|
-
`RobotLog2RQM in PyPi <https://pypi.org/project/
|
|
44
|
+
`RobotLog2RQM in PyPi <https://pypi.org/project/robotframework-robotlog2rqm/>`_
|
|
45
45
|
|
|
46
46
|
2. Installation via GitHub (recommended for developers)
|
|
47
47
|
|
|
48
|
-
Clone the **
|
|
48
|
+
* Clone the **robotframework-robotlog2rqm** repository to your machine.
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
.. code::
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
git clone https://github.com/test-fullautomation/robotframework-robotlog2rqm.git
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
`RobotLog2RQM in GitHub <https://github.com/test-fullautomation/robotframework-robotlog2rqm>`_
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
* Install dependencies
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
**RobotLog2RQM** requires some additional Python libraries. Before you install the cloned repository sources
|
|
59
|
+
you have to install the dependencies manually. The names of all related packages you can find in the file ``requirements.txt``
|
|
60
|
+
in the repository root folder. Use pip to install them:
|
|
61
|
+
|
|
62
|
+
.. code::
|
|
63
|
+
|
|
64
|
+
pip install -r ./requirements.txt
|
|
65
|
+
|
|
66
|
+
Additionally install **LaTeX** (recommended: TeX Live). This is used to render the documentation.
|
|
67
|
+
|
|
68
|
+
* Configure dependencies
|
|
69
|
+
|
|
70
|
+
The installation of **RobotLog2RQM** includes to generate the documentation in PDF format. This is done by
|
|
71
|
+
an application called **GenPackageDoc**, that is part of the installation dependencies (see ``requirements.txt``).
|
|
72
|
+
|
|
73
|
+
**GenPackageDoc** uses **LaTeX** to generate the documentation in PDF format. Therefore **GenPackageDoc** needs to know where to find
|
|
74
|
+
**LaTeX**. This is defined in the **GenPackageDoc** configuration file
|
|
75
|
+
|
|
76
|
+
.. code::
|
|
77
|
+
|
|
78
|
+
packagedoc\packagedoc_config.json
|
|
79
|
+
|
|
80
|
+
Before you start the installation you have to introduce the following environment variable, that is used in ``packagedoc_config.json``:
|
|
81
|
+
|
|
82
|
+
- ``GENDOC_LATEXPATH`` : path to ``pdflatex`` executable
|
|
83
|
+
|
|
84
|
+
* Use the following command to install **RobotLog2RQM**:
|
|
85
|
+
|
|
86
|
+
.. code::
|
|
59
87
|
|
|
60
|
-
|
|
88
|
+
python setup.py install
|
|
61
89
|
|
|
62
|
-
After succesful installation, the executable file **RobotLog2RQM**
|
|
63
|
-
will be available (under *Scripts* folder of Python on Windows
|
|
90
|
+
After succesful installation, the executable file **RobotLog2RQM**
|
|
91
|
+
will be available (under *Scripts* folder of Python on Windows
|
|
64
92
|
and *~/.local/bin/* folder on Linux).
|
|
65
93
|
|
|
66
|
-
In case above location is added to **PATH** environment variable
|
|
94
|
+
In case above location is added to **PATH** environment variable
|
|
67
95
|
then you can run it directly as operation system's command.
|
|
68
96
|
|
|
69
97
|
How to use
|
|
70
98
|
----------
|
|
71
99
|
|
|
72
|
-
**RobotLog2RQM** tool requires the Robot Framework ``output.xml`` result file(s)
|
|
73
|
-
which will be imported, RQM information(e.g. host url, project, ...) and user
|
|
100
|
+
**RobotLog2RQM** tool requires the Robot Framework ``output.xml`` result file(s)
|
|
101
|
+
which will be imported, RQM information(e.g. host url, project, ...) and user
|
|
74
102
|
credential(user name and password) to interact with RQM resources.
|
|
75
103
|
|
|
76
104
|
Use below command to get tools's usage:
|
|
@@ -84,15 +112,15 @@ The usage should be showed as below:
|
|
|
84
112
|
|
|
85
113
|
::
|
|
86
114
|
|
|
87
|
-
usage: RobotLog2RQM (RobotXMLResult to RQM importer) [-h] [-v] [--recursive]
|
|
88
|
-
[--createmissing] [--updatetestcase] [--dryrun]
|
|
115
|
+
usage: RobotLog2RQM (RobotXMLResult to RQM importer) [-h] [-v] [--recursive]
|
|
116
|
+
[--createmissing] [--updatetestcase] [--dryrun]
|
|
89
117
|
resultxmlfile host project user password testplan
|
|
90
118
|
|
|
91
|
-
RobotLog2RQM imports XML result files (default: output.xml) generated by the
|
|
119
|
+
RobotLog2RQM imports XML result files (default: output.xml) generated by the
|
|
92
120
|
Robot Framework into an IBM Rational Quality Manager.
|
|
93
121
|
|
|
94
122
|
positional arguments:
|
|
95
|
-
resultxmlfile absolute or relative path to the xml result file
|
|
123
|
+
resultxmlfile absolute or relative path to the xml result file
|
|
96
124
|
or directory of result files to be imported.
|
|
97
125
|
host RQM host url.
|
|
98
126
|
project project on RQM.
|
|
@@ -103,17 +131,17 @@ The usage should be showed as below:
|
|
|
103
131
|
optional arguments:
|
|
104
132
|
-h, --help show this help message and exit
|
|
105
133
|
-v, --version Version of the RobotLog2RQM importer.
|
|
106
|
-
--recursive if set, then the path is searched recursively for
|
|
134
|
+
--recursive if set, then the path is searched recursively for
|
|
107
135
|
log files to be imported.
|
|
108
|
-
--createmissing if set, then all testcases without tcid are created
|
|
136
|
+
--createmissing if set, then all testcases without tcid are created
|
|
109
137
|
when importing.
|
|
110
|
-
--updatetestcase if set, then testcase information on RQM will be updated
|
|
138
|
+
--updatetestcase if set, then testcase information on RQM will be updated
|
|
111
139
|
bases on robot testfile.
|
|
112
|
-
--dryrun if set, then verify all input arguments
|
|
140
|
+
--dryrun if set, then verify all input arguments
|
|
113
141
|
(includes RQM authentication) and show what would be done.
|
|
114
142
|
|
|
115
143
|
|
|
116
|
-
The below command is simple usage witth all required arguments to import
|
|
144
|
+
The below command is simple usage witth all required arguments to import
|
|
117
145
|
Robot Framework results into RQM:
|
|
118
146
|
|
|
119
147
|
::
|
|
@@ -147,25 +175,25 @@ Sample Robot testcase which contains neccessary information for importing into R
|
|
|
147
175
|
|
|
148
176
|
*** Test Cases ***
|
|
149
177
|
Testcase 01
|
|
150
|
-
[Documentation] This test is traceable with provided tcid
|
|
178
|
+
[Documentation] This test is traceable with provided tcid
|
|
151
179
|
[Tags] TCID-1001 FID-112 FID-111 robotfile-https://github.com/test-fullautomation
|
|
152
180
|
Log This is Testcase 01
|
|
153
181
|
|
|
154
182
|
Testcase 02
|
|
155
|
-
[Documentation] This new testcase will be created if --createmissing argument
|
|
183
|
+
[Documentation] This new testcase will be created if --createmissing argument
|
|
156
184
|
... is provided when importing
|
|
157
185
|
[Tags] FID-113 robotfile-https://github.com/test-fullautomation
|
|
158
186
|
Log This is Testcase 02
|
|
159
187
|
|
|
160
|
-
After getting ``output.xml`` result file, use below command to import that
|
|
161
|
-
result file into testplan ID ``720`` of ``ROBFW-AIO`` project which is hosted
|
|
162
|
-
at ``https://sample-rqm-host.com``
|
|
188
|
+
After getting ``output.xml`` result file, use below command to import that
|
|
189
|
+
result file into testplan ID ``720`` of ``ROBFW-AIO`` project which is hosted
|
|
190
|
+
at ``https://sample-rqm-host.com``
|
|
163
191
|
|
|
164
192
|
::
|
|
165
193
|
|
|
166
194
|
RobotLog2RQM output.xml https://sample-rqm-host.com ROBFW-AIO test_user test_pw 720
|
|
167
195
|
|
|
168
|
-
Then, open RQM with your favourite browser and you will see that the test case
|
|
196
|
+
Then, open RQM with your favourite browser and you will see that the test case
|
|
169
197
|
execution records and their results are imported in the given testplan ID.
|
|
170
198
|
|
|
171
199
|
Sourcecode Documentation
|
|
@@ -179,7 +207,7 @@ Feedback
|
|
|
179
207
|
|
|
180
208
|
To give us a feedback, you can send an email to `Thomas Pollerspöck`_.
|
|
181
209
|
|
|
182
|
-
In case you want to report a bug or request any interesting feature,
|
|
210
|
+
In case you want to report a bug or request any interesting feature,
|
|
183
211
|
please don't hesitate to raise a ticket.
|
|
184
212
|
|
|
185
213
|
Maintainers
|
|
@@ -204,7 +232,7 @@ Contributors
|
|
|
204
232
|
License
|
|
205
233
|
-------
|
|
206
234
|
|
|
207
|
-
Copyright 2020-
|
|
235
|
+
Copyright 2020-2024 Robert Bosch GmbH
|
|
208
236
|
|
|
209
237
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
210
238
|
you may not use this file except in compliance with the License.
|
|
@@ -229,4 +257,4 @@ limitations under the License.
|
|
|
229
257
|
.. _Nguyen Huynh Tri Cuong: mailto:Cuong.NguyenHuynhTri@vn.bosch.com
|
|
230
258
|
.. _Mai Dinh Nam Son: mailto:Son.MaiDinhNam@vn.bosch.com
|
|
231
259
|
.. _Tran Hoang Nguyen: mailto:Nguyen.TranHoang@vn.bosch.com
|
|
232
|
-
.. _Holger Queckenstedt: mailto:Holger.Queckenstedt@de.bosch.com
|
|
260
|
+
.. _Holger Queckenstedt: mailto:Holger.Queckenstedt@de.bosch.com
|