Hi, I am trying to upload attachments included in nuint .xml report files to Testiny via CLI automation, but an struggling to get the CLI to detect them.
I’ve tried various different ways to record the attachment path and file in the nunit file, moved the location of the attachments, and also tried the --attachment-path option, but they always result in something like:
Processing nunit file: ./reports/results_nunit.xml
Submitted 2/2 results and 0 attachments
Here is a snippet example of a couple of attachments inside a nuint report file:
….
<attachments><attachment><filePath>.\test_output_folder\tests-login-test-py-test-login-chromium\test-finished-1.png</filePath><description>Screenshots and Videos</description></attachment><attachment><filePath>.\test_output_folder\tests-login-test-py-test-login-chromium\video.webm</filePath><description>Screenshots and Videos</description>
….
I can provide more details if needed.
edit: Folder structure
/reports/
- nunit-report.xml
- bunch of other report files
/reports/test-output-folder/tests-login-test-py-test-login-chromium/
- attachment1
- attachment2
- etc
/reports/test-output-folder/other-test2/
- attachment1
- attachment2
- etc
Etc
Thanks
Sure, it is similar to this: /reports/ - nunit-report.xml - bunch of other report files /reports/test-output-folder/tests-login-test-py-test-login-chromium/ - attachment1 - attachment2 - etc /reports/test-output-folder/other-test2/ - attachment1 - attachment2 - etc Etc I have tried restructuring a few times, and tried a few different
– David_Rumble--attachment-pathoptions like./reports/test-output-folder/.Sorry, it's not formatting very well, I'll try again
– David_RumbleEdited original post, See above
– David_RumbleCould you post (or send via email) the XML of the testcase(s) in question?
– mgiI've sent via email. thanks
– David_Rumble