API: Create new test case with custom fields and keywords

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Locked
shirsh
TestLink user
Posts: 1
Joined: Sun Nov 11, 2012 11:05 am

API: Create new test case with custom fields and keywords

Post 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
alexmjp
TestLink user
Posts: 3
Joined: Mon Dec 07, 2015 10:40 am

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

Post 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 }
Locked