using createTestCase

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
brianj
TestLink user
Posts: 9
Joined: Fri Jan 15, 2010 11:27 pm

using createTestCase

Post by brianj »

Hi,

I've been able to successfully create testcases using "createTestCase", but I have two questions:

1) Is there a way I can specify to add the testcase into a particular test plan upon creation?
2) is there documentation somewhere to what options you can specify for "actiononduplicatedname"? If so, I'd appreciate a link :)

thanks!
austvik
Advanced user
Posts: 24
Joined: Thu Mar 25, 2010 7:25 am
Contact:

Re: using createTestCase

Post by austvik »

Hi, Brian.

1. addTestCaseToTestPlan()

2. While looking through the code, I have found:
$action_on_duplicate_name='allow_repeat'
self::$actionOnDuplicatedNameParamName => 'generate_new',
self::$actionOnDuplicatedNameParamName => 'block');

I totally agree that better documentation would be good. Feel free to create a feature request and provide patches.

-J
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: using createTestCase

Post by fman »

We are absolutely open to have more contribution on documentation, then we will appreciate your help
Post Reply