Comments (7)
According to the installation instructions python 3.10 or newer is recommended. Have you already checked if this also happens when you update your python Version?
from trcli.
Hello @ch4h2s
Thanks for reporting this issue. Unfortunately, I am not able to replicate it. Could you kindly provide a report file that hasn't worked for you?
Thanks
from trcli.
Closing this in the next days unless there's more feedback on it
from trcli.
Note: this may have to do with the fact that python was running on windows (Win 10) and not on linux when this happened.
At any rate, trcli should force utf-8 when communicating with the testrail server and allow an option to read the encoding from the xml file and/or via an option on the command line and/or via environment.
from trcli.
As @Testinator-X mentioned, trcli requires at least Python 3.10; tests currently run on 3.10, 3.11, and 3.12.
@ch4h2s , can you please test it using the latest trcli version (1.6.2) and Python 3.10 and let us know if the problem arises? If so, can you please share the JUnit XML report?
from trcli.
Sorry, the old framework is not in use anymore, so cannot repro the issue here myself.
Also that same old framework had been patched to use ASCII to go around this bug well before being deprecated (actually before this bug was even reported), so it would not have been able to reproduce the issue anyway.
If you are sure that trcli now uses UTF-8 for the XML input (or reads the encoding from the xml headers), you can close the issue.
If you need to test it on your machines/frameworks, try to get some non-ascii, non-CP1252 characters inside all of the xml strings and see what happens when run on windows.
from trcli.
As neither of us is unable to reproduce it, I'm closing this issue.
from trcli.
Related Issues (20)
- support Robot Framework 7.0 new output.xml format HOT 1
- --case-fields not working when I attempt to push data to some of the fields (i.e. Type, custom-field in Testrail ) HOT 7
- Test plan name for test runs HOT 3
- unable to import results for test cases having a very long title HOT 2
- Test plan name for test runs HOT 3
- Set automation_id case field when using --case-matcher: "property" HOT 1
- TRCLI failed on the ci cd HOT 5
- not able to upload results when report contains some chars in comment HOT 5
- Parsing testrail_case_field in Junit XML fails when using value but text is not empty
- Unable to parse field title in TestRailCase tag. Title is empty. HOT 15
- Please add parsing "Elapsed" time to parse_robot command. HOT 6
- Empty sections created while using matching based on automation_id
- Empty sections created while using matching based on automation_id HOT 1
- Network error when importing test case from a specific test suite HOT 4
- Connection error while uploading test results HOT 14
- Add options to import stdout/stderr from junit test as comment HOT 2
- not able to upload results when report contains some chars HOT 4
- Unable to update test results generated in junit format from pytest in CircleCI HOT 1
- Unable to update test results generated in junit format from Cypress in CircleCI
- With code first approach, trcli creates duplicates of test cases then chokes on deadlock trying to cleanup and fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trcli.