Page 1 of 1

import xml results file

Posted: Wed Dec 17, 2008 7:23 pm
by tanweernoor
we moved from 1.7.1 to 1.8 RC1 , under execute there is a button for IMPORT XML Results and format says
<?xml version="1.0" encoding="UTF-8"?>
<!-- Comment -->
<results>
<testcase external_id="POL-1" >
<!-- if not present logged user will be used -->
<tester>u0113</tester> <!-- tester LOGIN Name--->
<!-- if not present now() will be used -->
<timestamp>2008-09-08 14:00:00</timestamp>
<result>p</result>
<notes>functionality works great </notes>
</testcase>
<testcase external_id="POL-1" > <!-- ANOTHER EXE for SAME test case --->
<result>f</result>
<notes>functionality works great KIMI</notes>
</testcase>
<testcase external_id="1256" > <!-- Using INTERNAL ID --->
<result>f</result>
<notes>Using INTERNAL ID as link </notes>
</testcase>
</results>

but I am not able to upload files in this format.. please suggest.

Posted: Thu Dec 18, 2008 10:20 am
by fman
I've lost my crystal ball.
Please understand that you will never get an answer if quality of your questions (details) is low.

Posted: Thu Dec 18, 2008 5:09 pm
by tanweernoor
actually this is the format suggested by testlink comunity and its a new feature for me...

Posted: Sun Jan 11, 2009 8:41 am
by tanweernoor
Well I looked to pdf given by Testlink RC 1.8 and I am trying to import the following XML sample file, previously it was like if we click a testsuite, then the entire list of test cases will appear for marking results, in RC 1.8 there is another option of Importing the Test Results......./

<?xml version="1.0" encoding="UTF-8"?>
<results>
<testcase external_id="19662" >
<!-- if not present logged user will be used -->
<tester>tanweer</tester>
<!-- if not present now() will be used -->
<timestamp>2008-09-08 14:00:00</timestamp>
<result>p</result>
<notes>functionality works great </notes>
</testcase>
<testcase external_id="19663" >
<result>f</result>
<notes>functionality works great KIMI</notes>
</testcase>
<testcase external_id="19664" >
<result>f</result>
<notes>Using INTERNAL ID as link </notes>
</testcase>
</results>

but after importing it complains the following

mport TestCase data : Test Case with external id=19662, can not be found - result not imported
Import TestCase data : Test Case with external id=19663, can not be found - result not imported
Import TestCase data : Test Case with external id=19664, can not be found - result not imported

please suggest how to import??

Thanks
Tanweer

Re: import xml results file

Posted: Mon May 14, 2012 11:25 am
by billahranga
Hi I am sankar i 've been using testlink tool 1.9.3 ...i need some standard format of xml test results for the testlink execution i searched in many sites but that all content hav the xml format for the test case and test plan only ........ so can i have the proper format of the test results xml file, if so will you help me.


thanks in advance.....

Re: import xml results file

Posted: Mon May 14, 2012 3:20 pm
by fman
you have posted on wrong section this is for 1.8, not 1.9
have you searche on documentation provided with installation ?

Re: import xml results file

Posted: Thu May 17, 2012 5:20 am
by Amaradana
billahranga wrote:Hi I am sankar i 've been using testlink tool 1.9.3 ...i need some standard format of xml test results for the testlink execution i searched in many sites but that all content hav the xml format for the test case and test plan only ........ so can i have the proper format of the test results xml file, if so will you help me.


thanks in advance.....
Please look at your DOCS folder of your TL installation for examples