API: Create new test case with custom fields and keywords

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

API: Create new test case with custom fields and keywords

Postby shirsh » Mon Nov 12, 2012 2:30 pm

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
shirsh
TestLink user
 
Posts: 1
Joined: Sun Nov 11, 2012 11:05 am

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

Postby alexmjp » Wed Jan 13, 2016 1:31 pm

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


Return to XML-RPC API



Who is online

Users browsing this forum: No registered users and 3 guests