gurock / trcli

TR CLI (trcli) is a command line tool for interacting with TestRail.
Mozilla Public License 2.0
49 stars 43 forks source link

Custom result_fields not getting imported from XML using cli #278

Open rajeshchilka8400 opened 1 month ago

rajeshchilka8400 commented 1 month ago

TestRail CLI Version

1.9.7

CLI Environment

No response

TestRail Version

8.0.5

TestRail Instance Type

Professional Cloud

Current behavior

I am trying to import test results using xml via trcli

I have a use case where 1 testcase runs for multiple data combinations for which i have created a custom result_field name ddt_scenario with string property

Although when i pass this property in the xml, it is not updating in the test run upon importing

Attaching xml i am using and the ss in the UI

Screenshot 2024-10-08 at 8 29 45 PM

CLI Command used

trcli -y \ -h "https://rajeshchilka.testrail.io/" \ --project "Sample Project" \ --username "rajesh.p.chilka@gmail.com" \ --password "*****" \ parse_junit \ --title "Automated Tests Run" \ -f "report.xml" --case-matcher "property"

Desired behavior

Custom result_field ddt_scenario to also show up in the test results

More Details

<?xml version="1.0" encoding="UTF-8"?>

Click on "Buy Now" button: StaleElementError Verify product added to cart: ElementNotFound TestSkipped: Build was aborted, hence test was skipped during execution
rajeshchilka8400 commented 1 month ago

Gentle reminder