import xml results file

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
tanweernoor
Advanced user
Posts: 24
Joined: Thu Nov 13, 2008 10:25 pm

import xml results file

Post 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.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post 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.
tanweernoor
Advanced user
Posts: 24
Joined: Thu Nov 13, 2008 10:25 pm

Post by tanweernoor »

actually this is the format suggested by testlink comunity and its a new feature for me...
tanweernoor
Advanced user
Posts: 24
Joined: Thu Nov 13, 2008 10:25 pm

Post 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
billahranga
TestLink user
Posts: 1
Joined: Fri May 11, 2012 2:53 pm

Re: import xml results file

Post 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.....
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: import xml results file

Post by fman »

you have posted on wrong section this is for 1.8, not 1.9
have you searche on documentation provided with installation ?
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Re: import xml results file

Post 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
Thanks,
TesterWorld
Http://amartester.blogspot.com
Locked