Can't add test cases via trcli, test run is created but the xml file is not read so no test cases neither test results are visible in the Test Run #264
-
Hello, I am following this guideline https://support.testrail.com/hc/en-us/articles/12609674354068-Code-first-workflow#h_01H9GE9TJ6RD39FCR0FEW0FBBE to add test cases and results from playwright in TestRail. TestRun is created but TCs are not added and there is no test execution. In TestRail, Automation ID is configured under Case Fields with type Text Command used In the response can see: Was expecting that TCs will be created in TestRail but complain is that they are not found Have also tried to add properties in the xml file, but than it is not even able to parse the junit report
Thanks if someone can help what need to be changed |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Have exact issue in attempt to publish test results |
Beta Was this translation helpful? Give feedback.
-
In the command you posted, you have both |
Beta Was this translation helpful? Give feedback.
-
Hi, Jake,
Is there limitation on Java version to be used in the project with
<dependency>
<groupId>com.testrail</groupId>
<artifactId>testrail-junit-extensions</artifactId>
<version>0.2.0</version>
<scope>test</scope>
</dependency>
Because for now one of the projects do use Java 21
And we saw very handy mechanism of adding attachments to the test result
Many thanks for support!
Viktor Shyshkin,
QA Lead,
Phoenix
…On Tue, Sep 3, 2024 at 3:53 PM Jake Campbell ***@***.***> wrote:
In the command you posted, you have both -y and -n flags which are
opposing flags for test case auto-creation. If you want your test cases to
be auto-created, then only use -y, if not, then only use -n.
—
Reply to this email directly, view it on GitHub
<#264 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKPIQK25N4LB4YAFRPC37PTZUWWNPAVCNFSM6AAAAABNKOQXO2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANJTGE4DONQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Jake, the problem with the upload of the TC is solved by using correct flag. But anyhow if in the test case additional properties are added like:
for each test and test.step which give structure like this in the .xml file
Which filed should be added in TestRail? Currently getting errors like:
Thanks in advance |
Beta Was this translation helpful? Give feedback.
-
Jake, Emilija,
Many thanks for your effort to help!!!
Our team will go further with TestRail and we are very glad that you
created such a product.
Will return to investigate the utilisation of that library next week as we
have a tight schedule for priority automation and for now simple
integration is ok.
Will back to you with some detailed issue if it will appear!
Again many thanks!
Viktor Shyshkin
QA Lead,
Phoenix365
…On Wed, Sep 4, 2024 at 8:34 PM Jake Campbell ***@***.***> wrote:
I haven't used the testrail_case_field property yet, but looking at the
code, it seems that the value attribute of the <property should include
the field name followed by a :, then the value, like
<property name="testrail_case_field" value="field_name:First condition selected" />
or
<property name="testrail_case_field">field_name:First condition selected</property>
If you still have trouble after that. You might try adding the -v flag to
get more logging output, which may help identify the issue.
—
Reply to this email directly, view it on GitHub
<#264 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKPIQK324VYYHZMHKDRH5WLZU5AATAVCNFSM6AAAAABNKOQXO2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANJUHEYDGOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
In the command you posted, you have both
-y
and-n
flags which are opposing flags for test case auto-creation. If you want your test cases to be auto-created, then only use-y
, if not, then only use-n
.