robotframework-robotlog2db 1.5.2__tar.gz → 1.5.4__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-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/PKG-INFO +18 -27
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/RobotLog2DB/RobotLog2DB.pdf +0 -0
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/RobotLog2DB/robotlog2db.py +5 -5
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/RobotLog2DB/version.py +2 -2
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/RobotLog2DB/xsd/robot.xsd +67 -50
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/robotframework_robotlog2db.egg-info/PKG-INFO +18 -27
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/README.rst +0 -0
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/RobotLog2DB/__init__.py +0 -0
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/RobotLog2DB/__main__.py +0 -0
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/robotframework_robotlog2db.egg-info/SOURCES.txt +0 -0
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/robotframework_robotlog2db.egg-info/dependency_links.txt +0 -0
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/robotframework_robotlog2db.egg-info/entry_points.txt +0 -0
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/robotframework_robotlog2db.egg-info/requires.txt +0 -0
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/robotframework_robotlog2db.egg-info/top_level.txt +0 -0
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/setup.cfg +0 -0
- {robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: robotframework-robotlog2db
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.4
|
|
4
4
|
Summary: Imports robot result(s) to TestResultWebApp database
|
|
5
5
|
Home-page: https://github.com/test-fullautomation/robotframework-robotlog2db
|
|
6
6
|
Author: Tran Duy Ngoan
|
|
@@ -16,11 +16,9 @@ Classifier: Topic :: Software Development
|
|
|
16
16
|
Requires-Python: >=3.0
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
19
|
-
RobotLog2DB
|
|
20
|
-
===========
|
|
19
|
+
# RobotLog2DB
|
|
21
20
|
|
|
22
|
-
Table of Contents
|
|
23
|
-
-----------------
|
|
21
|
+
## Table of Contents
|
|
24
22
|
|
|
25
23
|
- [Getting Started](#getting-started)
|
|
26
24
|
- [How to install](#how-to-install)
|
|
@@ -34,8 +32,7 @@ Table of Contents
|
|
|
34
32
|
- [Contributors](#contributors)
|
|
35
33
|
- [License](#license)
|
|
36
34
|
|
|
37
|
-
Getting Started
|
|
38
|
-
---------------
|
|
35
|
+
## Getting Started
|
|
39
36
|
|
|
40
37
|
**RobotLog2DB** is a command-line tool that enables you to import [Robot
|
|
41
38
|
Framework XML
|
|
@@ -54,7 +51,7 @@ Python 3.
|
|
|
54
51
|
|
|
55
52
|
1. Installation via PyPi (recommended for users)
|
|
56
53
|
|
|
57
|
-
```
|
|
54
|
+
```
|
|
58
55
|
pip install robotframework-robotlog2db
|
|
59
56
|
```
|
|
60
57
|
|
|
@@ -66,7 +63,7 @@ Python 3.
|
|
|
66
63
|
- Clone the **robotframework-robotlog2db** repository to your
|
|
67
64
|
machine.
|
|
68
65
|
|
|
69
|
-
```
|
|
66
|
+
```
|
|
70
67
|
git clone https://github.com/test-fullautomation/robotframework-robotlog2db.git
|
|
71
68
|
```
|
|
72
69
|
|
|
@@ -81,7 +78,7 @@ Python 3.
|
|
|
81
78
|
packages you can find in the file `requirements.txt` in the
|
|
82
79
|
repository root folder. Use pip to install them:
|
|
83
80
|
|
|
84
|
-
```
|
|
81
|
+
```
|
|
85
82
|
pip install -r ./requirements.txt
|
|
86
83
|
```
|
|
87
84
|
|
|
@@ -100,7 +97,7 @@ Python 3.
|
|
|
100
97
|
to find **LaTeX**. This is defined in the **GenPackageDoc**
|
|
101
98
|
configuration file
|
|
102
99
|
|
|
103
|
-
```
|
|
100
|
+
```
|
|
104
101
|
packagedoc\packagedoc_config.json
|
|
105
102
|
```
|
|
106
103
|
|
|
@@ -112,7 +109,7 @@ Python 3.
|
|
|
112
109
|
|
|
113
110
|
- Use the following command to install **RobotLog2DB**:
|
|
114
111
|
|
|
115
|
-
```
|
|
112
|
+
```
|
|
116
113
|
python setup.py install
|
|
117
114
|
```
|
|
118
115
|
|
|
@@ -123,8 +120,7 @@ be available (under *Scripts* folder of Python on Windows and
|
|
|
123
120
|
In case above location is added to **PATH** environment variable then
|
|
124
121
|
you can run it directly as operation system\'s command.
|
|
125
122
|
|
|
126
|
-
Usage
|
|
127
|
-
-----
|
|
123
|
+
## Usage
|
|
128
124
|
|
|
129
125
|
**RobotLog2DB** requires the Robot Framework result file(s) which
|
|
130
126
|
contains the output result in XML format (default name is `output.xml`)
|
|
@@ -174,8 +170,7 @@ Besides the executable file, you can also run tool as a Python module
|
|
|
174
170
|
|
|
175
171
|
python -m RobotLog2DB <resultxmlfile> <server> <user> <password> <database>
|
|
176
172
|
|
|
177
|
-
Example
|
|
178
|
-
-------
|
|
173
|
+
## Example
|
|
179
174
|
|
|
180
175
|
In order the import the Robot Framework result(s) to TestResultWebApp\'s
|
|
181
176
|
database, we need the Robot Framework result file (`output.xml`).
|
|
@@ -218,9 +213,9 @@ for importing into TestResultWebApp\'s database:
|
|
|
218
213
|
> library within Suite Setup.
|
|
219
214
|
>
|
|
220
215
|
> - project
|
|
221
|
-
> -
|
|
222
|
-
> -
|
|
223
|
-
> -
|
|
216
|
+
> - version_sw
|
|
217
|
+
> - version_hw
|
|
218
|
+
> - version_test
|
|
224
219
|
> - machine
|
|
225
220
|
> - tester
|
|
226
221
|
> - testtool
|
|
@@ -259,22 +254,19 @@ Datatable view:
|
|
|
259
254
|
|
|
260
255
|

|
|
261
256
|
|
|
262
|
-
Contribution
|
|
263
|
-
------------
|
|
257
|
+
## Contribution
|
|
264
258
|
|
|
265
259
|
We are always searching support and you are cordially invited to help to
|
|
266
260
|
improve **RobotLog2DB** tool.
|
|
267
261
|
|
|
268
|
-
Sourcecode Documentation
|
|
269
|
-
------------------------
|
|
262
|
+
## Sourcecode Documentation
|
|
270
263
|
|
|
271
264
|
To understand more detail about the tool\'s features, parameters and how
|
|
272
265
|
Robot Framework testcase information will be displayed on
|
|
273
266
|
TestResultWebApp, please refer to [RobotLog2DB tool's
|
|
274
267
|
Documentation](https://github.com/test-fullautomation/robotframework-robotlog2db/blob/develop/RobotLog2DB/RobotLog2DB.pdf).
|
|
275
268
|
|
|
276
|
-
Feedback
|
|
277
|
-
--------
|
|
269
|
+
## Feedback
|
|
278
270
|
|
|
279
271
|
Please feel free to give any feedback to us via
|
|
280
272
|
|
|
@@ -283,8 +275,7 @@ Email to: [Thomas Pollerspöck](mailto:Thomas.Pollerspoeck@de.bosch.com)
|
|
|
283
275
|
Issue tracking: [RobotLog2DB
|
|
284
276
|
Issues](https://github.com/test-fullautomation/robotframework-robotlog2db/issues)
|
|
285
277
|
|
|
286
|
-
About
|
|
287
|
-
-----
|
|
278
|
+
## About
|
|
288
279
|
|
|
289
280
|
### Maintainers
|
|
290
281
|
|
{robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/RobotLog2DB/RobotLog2DB.pdf
RENAMED
|
Binary file
|
{robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/RobotLog2DB/robotlog2db.py
RENAMED
|
@@ -466,7 +466,7 @@ Example:
|
|
|
466
466
|
|
|
467
467
|
/ *Condition*: required / *Type*: str /
|
|
468
468
|
|
|
469
|
-
Regex to get the
|
|
469
|
+
Regex to get the expected info (ID) from tag info.
|
|
470
470
|
|
|
471
471
|
**Returns:**
|
|
472
472
|
|
|
@@ -490,7 +490,7 @@ Get branch name from software version information.
|
|
|
490
490
|
|
|
491
491
|
Convention of branch information in suffix of software version:
|
|
492
492
|
|
|
493
|
-
* All software version with .0F is the main/
|
|
493
|
+
* All software version with .0F is the main/feature branch.
|
|
494
494
|
The leading number is the current year. E.g. ``17.0F03``
|
|
495
495
|
* All software version with ``.1S``, ``.2S``, ... is a stabi branch.
|
|
496
496
|
The leading number is the year of branching out for stabilization.
|
|
@@ -588,7 +588,7 @@ In case the starttime in given suite is 'N/A', it will try to get this informati
|
|
|
588
588
|
|
|
589
589
|
def retrieve_result_endtime(objResult):
|
|
590
590
|
"""
|
|
591
|
-
Retrieve endtime
|
|
591
|
+
Retrieve endtime information from given result object (TestSuite or TestCase).
|
|
592
592
|
In case the endtime in given suite is 'N/A', it will try to get this information from its children suite/test.
|
|
593
593
|
|
|
594
594
|
**Arguments:**
|
|
@@ -827,9 +827,9 @@ Process to the lowest suite level (test file):
|
|
|
827
827
|
sSuiteStarttime = retrieve_result_starttime(suite)
|
|
828
828
|
sSuiteEndtime = retrieve_result_endtime(suite)
|
|
829
829
|
if not sSuiteStarttime:
|
|
830
|
-
Logger.log_error(f"Could not
|
|
830
|
+
Logger.log_error(f"Could not retrieve start time of suite '{suite.name}'.")
|
|
831
831
|
if not sSuiteEndtime:
|
|
832
|
-
Logger.log_error(f"Could not
|
|
832
|
+
Logger.log_error(f"Could not retrieve end time of suite '{suite.name}'.")
|
|
833
833
|
_tbl_file_time_start = format_time(sSuiteStarttime)
|
|
834
834
|
_tbl_file_time_end = format_time(sSuiteEndtime)
|
|
835
835
|
|
{robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/RobotLog2DB/xsd/robot.xsd
RENAMED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="
|
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="5">
|
|
3
3
|
<xs:annotation>
|
|
4
4
|
<xs:documentation xml:lang="en">
|
|
5
5
|
= Robot Framework output.xml schema =
|
|
6
6
|
|
|
7
|
-
Compatible with Robot Framework
|
|
7
|
+
Compatible with Robot Framework 7.0 and newer. For more details and
|
|
8
|
+
for older versions, go to
|
|
8
9
|
https://github.com/robotframework/robotframework/tree/master/doc/schema
|
|
9
10
|
|
|
10
11
|
Due to XSD 1.1 not being widely adopted, this schema is XSD 1.0 compatible.
|
|
@@ -23,17 +24,20 @@
|
|
|
23
24
|
<xs:element name="errors" type="Errors" minOccurs="0" />
|
|
24
25
|
</xs:sequence>
|
|
25
26
|
<xs:attribute name="generator" type="xs:string" />
|
|
26
|
-
<xs:attribute name="generated" type="
|
|
27
|
+
<xs:attribute name="generated" type="GeneratedType" />
|
|
27
28
|
<!-- True when executing tasks, false (default) when executing tests. -->
|
|
28
29
|
<xs:attribute name="rpa" type="xs:boolean" />
|
|
29
30
|
<!-- Version of the schema output.xml is compatible with. Must match
|
|
30
31
|
the `version` attribute of the `xs:schema` root element. -->
|
|
31
32
|
<xs:attribute name="schemaversion" type="SpecVersion" />
|
|
32
33
|
</xs:complexType>
|
|
34
|
+
<xs:simpleType name="GeneratedType">
|
|
35
|
+
<xs:union memberTypes="xs:string xs:dateTime" />
|
|
36
|
+
</xs:simpleType>
|
|
33
37
|
<xs:simpleType name="SpecVersion">
|
|
34
38
|
<xs:restriction base="xs:integer">
|
|
35
39
|
<xs:minInclusive value="2" />
|
|
36
|
-
<xs:maxInclusive value="
|
|
40
|
+
<xs:maxInclusive value="5" />
|
|
37
41
|
</xs:restriction>
|
|
38
42
|
</xs:simpleType>
|
|
39
43
|
<xs:complexType name="Suite">
|
|
@@ -68,10 +72,12 @@
|
|
|
68
72
|
<xs:complexType name="Test">
|
|
69
73
|
<xs:choice maxOccurs="unbounded">
|
|
70
74
|
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
75
|
+
<xs:element name="thread" type="Thread" minOccurs="0" maxOccurs="unbounded" />
|
|
71
76
|
<xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded" />
|
|
72
77
|
<xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded" />
|
|
73
78
|
<xs:element name="try" type="Try" minOccurs="0" maxOccurs="unbounded" />
|
|
74
79
|
<xs:element name="while" type="While" minOccurs="0" maxOccurs="unbounded" />
|
|
80
|
+
<xs:element name="variable" type="Var" minOccurs="0" maxOccurs="unbounded" />
|
|
75
81
|
<xs:element name="error" type="Error" minOccurs="0" maxOccurs="unbounded" />
|
|
76
82
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
77
83
|
<xs:element name="doc" type="xs:string" minOccurs="0" />
|
|
@@ -88,10 +94,12 @@
|
|
|
88
94
|
<xs:complexType name="Keyword">
|
|
89
95
|
<xs:choice maxOccurs="unbounded">
|
|
90
96
|
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
97
|
+
<xs:element name="thread" type="Thread" minOccurs="0" maxOccurs="unbounded" />
|
|
91
98
|
<xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded" />
|
|
92
99
|
<xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded" />
|
|
93
100
|
<xs:element name="try" type="Try" minOccurs="0" maxOccurs="unbounded" />
|
|
94
101
|
<xs:element name="while" type="While" minOccurs="0" maxOccurs="unbounded" />
|
|
102
|
+
<xs:element name="variable" type="Var" minOccurs="0" maxOccurs="unbounded" />
|
|
95
103
|
<xs:element name="error" type="Error" minOccurs="0" maxOccurs="unbounded" />
|
|
96
104
|
<xs:element name="return" type="Return" minOccurs="0" maxOccurs="unbounded" />
|
|
97
105
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
@@ -100,28 +108,40 @@
|
|
|
100
108
|
<xs:element name="doc" type="xs:string" minOccurs="0" />
|
|
101
109
|
<xs:element name="tag" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
|
102
110
|
<xs:element name="timeout" type="Timeout" minOccurs="0" />
|
|
103
|
-
<xs:element name="status" type="
|
|
111
|
+
<xs:element name="status" type="Status" />
|
|
104
112
|
</xs:choice>
|
|
105
113
|
<xs:attribute name="name" type="xs:string" />
|
|
106
114
|
<xs:attribute name="library" type="xs:string" />
|
|
107
|
-
<xs:attribute name="sourcename" type="xs:string" />
|
|
108
|
-
<xs:attribute name="
|
|
115
|
+
<xs:attribute name="sourcename" type="xs:string" />
|
|
116
|
+
<xs:attribute name="owner" type="xs:string" /> <!-- Library or resource file name. -->
|
|
117
|
+
<xs:attribute name="source_name" type="xs:string" /> <!-- Original name with embedded arguments. Not used otherwise. -->
|
|
118
|
+
<xs:attribute name="type" type="KeywordType" /> <!-- Only used with setups and teardowns. -->
|
|
109
119
|
</xs:complexType>
|
|
110
120
|
<xs:simpleType name="KeywordType">
|
|
111
121
|
<xs:restriction base="xs:string">
|
|
122
|
+
<xs:enumeration value="KEYWORD" /> <!-- Default when the attribute is not set. -->
|
|
112
123
|
<xs:enumeration value="SETUP" />
|
|
113
124
|
<xs:enumeration value="TEARDOWN" />
|
|
114
125
|
</xs:restriction>
|
|
115
126
|
</xs:simpleType>
|
|
127
|
+
<xs:complexType name="Thread">
|
|
128
|
+
<xs:choice maxOccurs="unbounded">
|
|
129
|
+
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
130
|
+
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
131
|
+
<xs:element name="status" type="Status" />
|
|
132
|
+
</xs:choice>
|
|
133
|
+
<xs:attribute name="name" type="xs:string" />
|
|
134
|
+
<xs:attribute name="daemon" type="xs:string" />
|
|
135
|
+
</xs:complexType>
|
|
116
136
|
<xs:complexType name="For">
|
|
117
137
|
<xs:choice maxOccurs="unbounded">
|
|
118
138
|
<xs:element name="var" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> <!-- Loop variables -->
|
|
119
139
|
<xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> <!-- Loop values -->
|
|
120
140
|
<xs:element name="iter" type="ForIteration" minOccurs="0" maxOccurs="unbounded" />
|
|
121
141
|
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
142
|
+
<xs:element name="thread" type="Thread" minOccurs="0" maxOccurs="unbounded" />
|
|
122
143
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
123
|
-
<xs:element name="
|
|
124
|
-
<xs:element name="status" type="BodyItemStatus" />
|
|
144
|
+
<xs:element name="status" type="Status" />
|
|
125
145
|
</xs:choice>
|
|
126
146
|
<xs:attribute name="flavor" type="ForFlavor" />
|
|
127
147
|
<xs:attribute name="start" type="xs:string" /> <!-- Used if IN ENUMERATE has `start`. -->
|
|
@@ -141,17 +161,18 @@
|
|
|
141
161
|
<!-- Loop variables with iteration specific values. -->
|
|
142
162
|
<xs:element name="var" type="ForIterationVariable" minOccurs="0" maxOccurs="unbounded" />
|
|
143
163
|
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
164
|
+
<xs:element name="thread" type="Thread" minOccurs="0" maxOccurs="unbounded" />
|
|
144
165
|
<xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded" />
|
|
145
166
|
<xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded" />
|
|
146
167
|
<xs:element name="try" type="Try" minOccurs="0" maxOccurs="unbounded" />
|
|
147
168
|
<xs:element name="while" type="While" minOccurs="0" maxOccurs="unbounded" />
|
|
169
|
+
<xs:element name="variable" type="Var" minOccurs="0" maxOccurs="unbounded" />
|
|
148
170
|
<xs:element name="return" type="Return" minOccurs="0" maxOccurs="unbounded" />
|
|
149
171
|
<xs:element name="break" type="Break" minOccurs="0" maxOccurs="unbounded" />
|
|
150
172
|
<xs:element name="continue" type="Continue" minOccurs="0" maxOccurs="unbounded" />
|
|
151
173
|
<xs:element name="error" type="Error" minOccurs="0" maxOccurs="unbounded" />
|
|
152
174
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
153
|
-
<xs:element name="
|
|
154
|
-
<xs:element name="status" type="BodyItemStatus" />
|
|
175
|
+
<xs:element name="status" type="Status" />
|
|
155
176
|
</xs:choice>
|
|
156
177
|
</xs:complexType>
|
|
157
178
|
<xs:complexType name="ForIterationVariable">
|
|
@@ -165,24 +186,24 @@
|
|
|
165
186
|
<xs:choice maxOccurs="unbounded">
|
|
166
187
|
<xs:element name="branch" type="IfBranch" minOccurs="0" maxOccurs="unbounded" />
|
|
167
188
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
168
|
-
<xs:element name="
|
|
169
|
-
<xs:element name="status" type="BodyItemStatus" />
|
|
189
|
+
<xs:element name="status" type="Status" />
|
|
170
190
|
</xs:choice>
|
|
171
191
|
</xs:complexType>
|
|
172
192
|
<xs:complexType name="IfBranch">
|
|
173
193
|
<xs:choice maxOccurs="unbounded">
|
|
174
194
|
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
195
|
+
<xs:element name="thread" type="Thread" minOccurs="0" maxOccurs="unbounded" />
|
|
175
196
|
<xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded" />
|
|
176
197
|
<xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded" />
|
|
177
198
|
<xs:element name="try" type="Try" minOccurs="0" maxOccurs="unbounded" />
|
|
178
199
|
<xs:element name="while" type="While" minOccurs="0" maxOccurs="unbounded" />
|
|
200
|
+
<xs:element name="variable" type="Var" minOccurs="0" maxOccurs="unbounded" />
|
|
179
201
|
<xs:element name="return" type="Return" minOccurs="0" maxOccurs="unbounded" />
|
|
180
202
|
<xs:element name="break" type="Break" minOccurs="0" maxOccurs="unbounded" />
|
|
181
203
|
<xs:element name="continue" type="Continue" minOccurs="0" maxOccurs="unbounded" />
|
|
182
204
|
<xs:element name="error" type="Error" minOccurs="0" maxOccurs="unbounded" />
|
|
183
205
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
184
|
-
<xs:element name="
|
|
185
|
-
<xs:element name="status" type="BodyItemStatus" />
|
|
206
|
+
<xs:element name="status" type="Status" />
|
|
186
207
|
</xs:choice>
|
|
187
208
|
<xs:attribute name="type" type="IfType" use="required" />
|
|
188
209
|
<xs:attribute name="condition" type="xs:string" />
|
|
@@ -198,29 +219,29 @@
|
|
|
198
219
|
<xs:choice maxOccurs="unbounded">
|
|
199
220
|
<xs:element name="branch" type="TryBranch" minOccurs="0" maxOccurs="unbounded" />
|
|
200
221
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
201
|
-
<xs:element name="
|
|
202
|
-
<xs:element name="status" type="BodyItemStatus" />
|
|
222
|
+
<xs:element name="status" type="Status" />
|
|
203
223
|
</xs:choice>
|
|
204
224
|
</xs:complexType>
|
|
205
225
|
<xs:complexType name="TryBranch">
|
|
206
226
|
<xs:choice maxOccurs="unbounded">
|
|
207
227
|
<xs:element name="pattern" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
|
208
228
|
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
229
|
+
<xs:element name="thread" type="Thread" minOccurs="0" maxOccurs="unbounded" />
|
|
209
230
|
<xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded" />
|
|
210
231
|
<xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded" />
|
|
211
232
|
<xs:element name="try" type="Try" minOccurs="0" maxOccurs="unbounded" />
|
|
212
233
|
<xs:element name="while" type="While" minOccurs="0" maxOccurs="unbounded" />
|
|
234
|
+
<xs:element name="variable" type="Var" minOccurs="0" maxOccurs="unbounded" />
|
|
213
235
|
<xs:element name="return" type="Return" minOccurs="0" maxOccurs="unbounded" />
|
|
214
236
|
<xs:element name="break" type="Break" minOccurs="0" maxOccurs="unbounded" />
|
|
215
237
|
<xs:element name="continue" type="Continue" minOccurs="0" maxOccurs="unbounded" />
|
|
216
238
|
<xs:element name="error" type="Error" minOccurs="0" maxOccurs="unbounded" />
|
|
217
239
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
218
|
-
<xs:element name="
|
|
219
|
-
<xs:element name="status" type="BodyItemStatus" />
|
|
240
|
+
<xs:element name="status" type="Status" />
|
|
220
241
|
</xs:choice>
|
|
221
242
|
<xs:attribute name="type" type="TryType" use="required" />
|
|
222
243
|
<xs:attribute name="pattern_type" type="xs:string" />
|
|
223
|
-
<xs:attribute name="
|
|
244
|
+
<xs:attribute name="assign" type="xs:string" />
|
|
224
245
|
</xs:complexType>
|
|
225
246
|
<xs:simpleType name="TryType">
|
|
226
247
|
<xs:restriction base="xs:string">
|
|
@@ -235,8 +256,7 @@
|
|
|
235
256
|
<xs:element name="iter" type="WhileIteration" minOccurs="0" maxOccurs="unbounded" />
|
|
236
257
|
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
237
258
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
238
|
-
<xs:element name="
|
|
239
|
-
<xs:element name="status" type="BodyItemStatus" />
|
|
259
|
+
<xs:element name="status" type="Status" />
|
|
240
260
|
</xs:choice>
|
|
241
261
|
<xs:attribute name="condition" type="xs:string" />
|
|
242
262
|
<xs:attribute name="limit" type="xs:string" />
|
|
@@ -246,50 +266,66 @@
|
|
|
246
266
|
<xs:complexType name="WhileIteration">
|
|
247
267
|
<xs:choice maxOccurs="unbounded">
|
|
248
268
|
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
269
|
+
<xs:element name="thread" type="Thread" minOccurs="0" maxOccurs="unbounded" />
|
|
249
270
|
<xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded" />
|
|
250
271
|
<xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded" />
|
|
251
272
|
<xs:element name="try" type="Try" minOccurs="0" maxOccurs="unbounded" />
|
|
252
273
|
<xs:element name="while" type="While" minOccurs="0" maxOccurs="unbounded" />
|
|
274
|
+
<xs:element name="variable" type="Var" minOccurs="0" maxOccurs="unbounded" />
|
|
253
275
|
<xs:element name="return" type="Return" minOccurs="0" maxOccurs="unbounded" />
|
|
254
276
|
<xs:element name="break" type="Break" minOccurs="0" maxOccurs="unbounded" />
|
|
255
277
|
<xs:element name="continue" type="Continue" minOccurs="0" maxOccurs="unbounded" />
|
|
256
278
|
<xs:element name="error" type="Error" minOccurs="0" maxOccurs="unbounded" />
|
|
257
279
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
258
|
-
<xs:element name="
|
|
259
|
-
|
|
280
|
+
<xs:element name="status" type="Status" />
|
|
281
|
+
</xs:choice>
|
|
282
|
+
</xs:complexType>
|
|
283
|
+
<xs:complexType name="Var">
|
|
284
|
+
<xs:choice maxOccurs="unbounded">
|
|
285
|
+
<xs:element name="var" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
|
286
|
+
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
287
|
+
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
288
|
+
<xs:element name="status" type="Status" />
|
|
260
289
|
</xs:choice>
|
|
290
|
+
<xs:attribute name="name" type="xs:string" />
|
|
291
|
+
<xs:attribute name="scope" type="xs:string" />
|
|
292
|
+
<xs:attribute name="separator" type="xs:string" />
|
|
261
293
|
</xs:complexType>
|
|
262
294
|
<xs:complexType name="Return">
|
|
263
295
|
<xs:choice maxOccurs="unbounded">
|
|
264
296
|
<xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
|
265
297
|
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
266
298
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
267
|
-
<xs:element name="status" type="
|
|
299
|
+
<xs:element name="status" type="Status" />
|
|
268
300
|
</xs:choice>
|
|
269
301
|
</xs:complexType>
|
|
270
302
|
<xs:complexType name="Break">
|
|
271
303
|
<xs:choice maxOccurs="unbounded">
|
|
272
304
|
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
273
305
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
274
|
-
<xs:element name="status" type="
|
|
306
|
+
<xs:element name="status" type="Status" />
|
|
275
307
|
</xs:choice>
|
|
276
308
|
</xs:complexType>
|
|
277
309
|
<xs:complexType name="Continue">
|
|
278
310
|
<xs:choice maxOccurs="unbounded">
|
|
279
311
|
<xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
|
|
280
312
|
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
|
281
|
-
<xs:element name="status" type="
|
|
313
|
+
<xs:element name="status" type="Status" />
|
|
282
314
|
</xs:choice>
|
|
283
315
|
</xs:complexType>
|
|
284
|
-
<xs:complexType name="Message">
|
|
316
|
+
<xs:complexType name="Message" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
285
317
|
<xs:simpleContent>
|
|
286
318
|
<xs:extension base="xs:string">
|
|
287
|
-
<xs:attribute name="timestamp" type="xs:string"
|
|
319
|
+
<xs:attribute name="timestamp" type="xs:string" />
|
|
320
|
+
<xs:attribute name="time" type="xs:dateTime" />
|
|
288
321
|
<xs:attribute name="level" type="MessageLevel" use="required" />
|
|
289
322
|
<xs:attribute name="html" type="xs:boolean" />
|
|
290
323
|
</xs:extension>
|
|
291
324
|
</xs:simpleContent>
|
|
292
325
|
</xs:complexType>
|
|
326
|
+
<xs:simpleType name="TimeType">
|
|
327
|
+
<xs:union memberTypes="xs:string xs:dateTime" />
|
|
328
|
+
</xs:simpleType>
|
|
293
329
|
<xs:simpleType name="MessageLevel">
|
|
294
330
|
<xs:restriction base="xs:string">
|
|
295
331
|
<xs:enumeration value="TRACE" />
|
|
@@ -309,8 +345,9 @@
|
|
|
309
345
|
<xs:attribute name="status" type="StatusValue" use="required" />
|
|
310
346
|
<xs:attribute name="starttime" type="xs:string" />
|
|
311
347
|
<xs:attribute name="endtime" type="xs:string" />
|
|
312
|
-
<!-- Not set if both `starttime` and `endtime` are defined. -->
|
|
313
348
|
<xs:attribute name="elapsedtime" type="xs:string" />
|
|
349
|
+
<xs:attribute name="start" type="xs:dateTime" />
|
|
350
|
+
<xs:attribute name="elapsed" type="xs:float" />
|
|
314
351
|
</xs:extension>
|
|
315
352
|
</xs:simpleContent>
|
|
316
353
|
</xs:complexType>
|
|
@@ -323,26 +360,6 @@
|
|
|
323
360
|
<xs:enumeration value="UNKNOWN" />
|
|
324
361
|
</xs:restriction>
|
|
325
362
|
</xs:simpleType>
|
|
326
|
-
<xs:complexType name="BodyItemStatus">
|
|
327
|
-
<xs:simpleContent>
|
|
328
|
-
<xs:extension base="xs:string">
|
|
329
|
-
<xs:attribute name="status" type="BodyItemStatusValue" use="required" />
|
|
330
|
-
<xs:attribute name="starttime" type="xs:string" />
|
|
331
|
-
<xs:attribute name="endtime" type="xs:string" />
|
|
332
|
-
<!-- Not set if both `starttime` and `endtime` are defined. -->
|
|
333
|
-
<xs:attribute name="elapsedtime" type="xs:string" />
|
|
334
|
-
</xs:extension>
|
|
335
|
-
</xs:simpleContent>
|
|
336
|
-
</xs:complexType>
|
|
337
|
-
<xs:simpleType name="BodyItemStatusValue">
|
|
338
|
-
<xs:restriction base="xs:string">
|
|
339
|
-
<xs:enumeration value="PASS" />
|
|
340
|
-
<xs:enumeration value="FAIL" />
|
|
341
|
-
<xs:enumeration value="SKIP" />
|
|
342
|
-
<xs:enumeration value="NOT RUN" />
|
|
343
|
-
<xs:enumeration value="UNKNOWN" />
|
|
344
|
-
</xs:restriction>
|
|
345
|
-
</xs:simpleType>
|
|
346
363
|
<xs:complexType name="Timeout">
|
|
347
364
|
<xs:attribute name="value" type="xs:string" use="required" />
|
|
348
365
|
</xs:complexType>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: robotframework-robotlog2db
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.4
|
|
4
4
|
Summary: Imports robot result(s) to TestResultWebApp database
|
|
5
5
|
Home-page: https://github.com/test-fullautomation/robotframework-robotlog2db
|
|
6
6
|
Author: Tran Duy Ngoan
|
|
@@ -16,11 +16,9 @@ Classifier: Topic :: Software Development
|
|
|
16
16
|
Requires-Python: >=3.0
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
19
|
-
RobotLog2DB
|
|
20
|
-
===========
|
|
19
|
+
# RobotLog2DB
|
|
21
20
|
|
|
22
|
-
Table of Contents
|
|
23
|
-
-----------------
|
|
21
|
+
## Table of Contents
|
|
24
22
|
|
|
25
23
|
- [Getting Started](#getting-started)
|
|
26
24
|
- [How to install](#how-to-install)
|
|
@@ -34,8 +32,7 @@ Table of Contents
|
|
|
34
32
|
- [Contributors](#contributors)
|
|
35
33
|
- [License](#license)
|
|
36
34
|
|
|
37
|
-
Getting Started
|
|
38
|
-
---------------
|
|
35
|
+
## Getting Started
|
|
39
36
|
|
|
40
37
|
**RobotLog2DB** is a command-line tool that enables you to import [Robot
|
|
41
38
|
Framework XML
|
|
@@ -54,7 +51,7 @@ Python 3.
|
|
|
54
51
|
|
|
55
52
|
1. Installation via PyPi (recommended for users)
|
|
56
53
|
|
|
57
|
-
```
|
|
54
|
+
```
|
|
58
55
|
pip install robotframework-robotlog2db
|
|
59
56
|
```
|
|
60
57
|
|
|
@@ -66,7 +63,7 @@ Python 3.
|
|
|
66
63
|
- Clone the **robotframework-robotlog2db** repository to your
|
|
67
64
|
machine.
|
|
68
65
|
|
|
69
|
-
```
|
|
66
|
+
```
|
|
70
67
|
git clone https://github.com/test-fullautomation/robotframework-robotlog2db.git
|
|
71
68
|
```
|
|
72
69
|
|
|
@@ -81,7 +78,7 @@ Python 3.
|
|
|
81
78
|
packages you can find in the file `requirements.txt` in the
|
|
82
79
|
repository root folder. Use pip to install them:
|
|
83
80
|
|
|
84
|
-
```
|
|
81
|
+
```
|
|
85
82
|
pip install -r ./requirements.txt
|
|
86
83
|
```
|
|
87
84
|
|
|
@@ -100,7 +97,7 @@ Python 3.
|
|
|
100
97
|
to find **LaTeX**. This is defined in the **GenPackageDoc**
|
|
101
98
|
configuration file
|
|
102
99
|
|
|
103
|
-
```
|
|
100
|
+
```
|
|
104
101
|
packagedoc\packagedoc_config.json
|
|
105
102
|
```
|
|
106
103
|
|
|
@@ -112,7 +109,7 @@ Python 3.
|
|
|
112
109
|
|
|
113
110
|
- Use the following command to install **RobotLog2DB**:
|
|
114
111
|
|
|
115
|
-
```
|
|
112
|
+
```
|
|
116
113
|
python setup.py install
|
|
117
114
|
```
|
|
118
115
|
|
|
@@ -123,8 +120,7 @@ be available (under *Scripts* folder of Python on Windows and
|
|
|
123
120
|
In case above location is added to **PATH** environment variable then
|
|
124
121
|
you can run it directly as operation system\'s command.
|
|
125
122
|
|
|
126
|
-
Usage
|
|
127
|
-
-----
|
|
123
|
+
## Usage
|
|
128
124
|
|
|
129
125
|
**RobotLog2DB** requires the Robot Framework result file(s) which
|
|
130
126
|
contains the output result in XML format (default name is `output.xml`)
|
|
@@ -174,8 +170,7 @@ Besides the executable file, you can also run tool as a Python module
|
|
|
174
170
|
|
|
175
171
|
python -m RobotLog2DB <resultxmlfile> <server> <user> <password> <database>
|
|
176
172
|
|
|
177
|
-
Example
|
|
178
|
-
-------
|
|
173
|
+
## Example
|
|
179
174
|
|
|
180
175
|
In order the import the Robot Framework result(s) to TestResultWebApp\'s
|
|
181
176
|
database, we need the Robot Framework result file (`output.xml`).
|
|
@@ -218,9 +213,9 @@ for importing into TestResultWebApp\'s database:
|
|
|
218
213
|
> library within Suite Setup.
|
|
219
214
|
>
|
|
220
215
|
> - project
|
|
221
|
-
> -
|
|
222
|
-
> -
|
|
223
|
-
> -
|
|
216
|
+
> - version_sw
|
|
217
|
+
> - version_hw
|
|
218
|
+
> - version_test
|
|
224
219
|
> - machine
|
|
225
220
|
> - tester
|
|
226
221
|
> - testtool
|
|
@@ -259,22 +254,19 @@ Datatable view:
|
|
|
259
254
|
|
|
260
255
|

|
|
261
256
|
|
|
262
|
-
Contribution
|
|
263
|
-
------------
|
|
257
|
+
## Contribution
|
|
264
258
|
|
|
265
259
|
We are always searching support and you are cordially invited to help to
|
|
266
260
|
improve **RobotLog2DB** tool.
|
|
267
261
|
|
|
268
|
-
Sourcecode Documentation
|
|
269
|
-
------------------------
|
|
262
|
+
## Sourcecode Documentation
|
|
270
263
|
|
|
271
264
|
To understand more detail about the tool\'s features, parameters and how
|
|
272
265
|
Robot Framework testcase information will be displayed on
|
|
273
266
|
TestResultWebApp, please refer to [RobotLog2DB tool's
|
|
274
267
|
Documentation](https://github.com/test-fullautomation/robotframework-robotlog2db/blob/develop/RobotLog2DB/RobotLog2DB.pdf).
|
|
275
268
|
|
|
276
|
-
Feedback
|
|
277
|
-
--------
|
|
269
|
+
## Feedback
|
|
278
270
|
|
|
279
271
|
Please feel free to give any feedback to us via
|
|
280
272
|
|
|
@@ -283,8 +275,7 @@ Email to: [Thomas Pollerspöck](mailto:Thomas.Pollerspoeck@de.bosch.com)
|
|
|
283
275
|
Issue tracking: [RobotLog2DB
|
|
284
276
|
Issues](https://github.com/test-fullautomation/robotframework-robotlog2db/issues)
|
|
285
277
|
|
|
286
|
-
About
|
|
287
|
-
-----
|
|
278
|
+
## About
|
|
288
279
|
|
|
289
280
|
### Maintainers
|
|
290
281
|
|
|
File without changes
|
{robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/RobotLog2DB/__init__.py
RENAMED
|
File without changes
|
{robotframework-robotlog2db-1.5.2 → robotframework-robotlog2db-1.5.4}/RobotLog2DB/__main__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|