Page 1 of 1

API: Create new test case with custom fields and keywords

Posted: Mon Nov 12, 2012 2:30 pm
by shirsh
Hi,

I'm using python Testlink API client to upload new test-cases.
I'm having 2 problems with this:
1. How can i assign keywords to test case (via API)
2. How can i update the custom fields as well

TIA

Re: API: Create new test case with custom fields and keyword

Posted: Wed Jan 13, 2016 1:31 pm
by alexmjp
I think you should have found yourself but to help other...
1- To assign keyword (who already exist) use : tl.addTestCaseKeywords method.
2- tl.reportTCResult method could also set value of customFields linked on execution { customFieldName => valueToSet }