Export custom field value to XML

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
yes2000
TestLink user
Posts: 4
Joined: Wed Jun 23, 2010 2:07 pm

Export custom field value to XML

Post by yes2000 »

Hi All,

I am trying to create XML file has Testid and custom filed value using execSetResults.php
i did use that the following to create the test id
$dom = new DomDocument('1.0');
$Tests = $dom->appendChild($dom->createElement('Tests'));
$SingleTest = $Tests->appendChild($dom->createElement('SingleTest'));

$TestCaseID = $SingleTest->appendChild($dom->createElement('TestCaseID'));
$TestCaseID->appendChild
(
$dom->createTextNode($args->tc_id)
);

how can I export the custom filed value or test name value

Regards,

Abe
Post Reply