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.
import xml results file
Moderators: Amaradana, TurboPT, TL Developers
-
- Advanced user
- Posts: 24
- Joined: Thu Nov 13, 2008 10:25 pm
-
- Advanced user
- Posts: 24
- Joined: Thu Nov 13, 2008 10:25 pm
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
<?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
-
- TestLink user
- Posts: 1
- Joined: Fri May 11, 2012 2:53 pm
Re: import xml results file
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.....
thanks in advance.....
Re: import xml results file
you have posted on wrong section this is for 1.8, not 1.9
have you searche on documentation provided with installation ?
have you searche on documentation provided with installation ?
Re: import xml results file
Please look at your DOCS folder of your TL installation for examplesbillahranga 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.....
Thanks,
TesterWorld
Http://amartester.blogspot.com
TesterWorld
Http://amartester.blogspot.com