Export file XML test result wtihout dummy

Moderators: Amaradana, TurboPT, TL Developers

Export file XML test result wtihout dummy

Postby srscftl » Mon May 18, 2020 10:35 am

Hi,

We have got two different versions of the testlink: 1.9.14 and 1.9.17.

We need to send the test results including each step, from one version to the other one. We have a lot of information in the test results.

We would like to know how to export the test results (from XML) including all data from the original system (without dummy).

We need to export the file and import it directly. We can´t change exported file manually because it has too much data.

Thanks in Advance!!
srscftl
TestLink user
 
Posts: 4
Joined: Mon May 04, 2020 8:31 pm

Re: Export file XML test result wtihout dummy

Postby fman » Mon May 18, 2020 1:28 pm

This is not the way to follow, you will need to do a lot of work using SQL.
IMHO the cheapest solution is do nothing => live with two different installations, but upgrade both to testlink_1_9_20_fixed.
Any other option will mean lot of wasted time
fman
Member of TestLink Community
 
Posts: 3089
Joined: Tue Nov 15, 2005 7:19 am

Re: Export file XML test result wtihout dummy

Postby srscftl » Wed May 20, 2020 7:46 am

Hi fman

From version 1.9.20_fixed (Execute Test-Export for result import of left panel), we have the file below:

<?xml version="1.0" encoding="UTF-8"?>
<!-- TestLink - www.testlink.org - xml to allow results import -->
<results>
<testproject name="Pruebas" prefix="prueba" />
<testplan name="Pruebas" />
<build name="v001" />

<testcase external_id="prueba-1">
<result>X</result>
<notes>test link rocks </notes>
<tester>put login here</tester>
<!-- if not present now() will be used -->
<timestamp>YYYY-MM-DD HH:MM:SS</timestamp>
<bug_id>put one of your bugs id here (repeat the line as many times you need)</bug_id>
<bug_id>put another of your bugs id here</bug_id>
<steps>
<step>
<step_number>1</step_number>
<result>p</result>
<notes>your step exec notes</notes>
</step>
</steps>

</testcase>

What are we doing wrong? Although we have two differents instalations, we need to export the result test form one version and import it into the other version. The file, in version 1.9.20_fixed. have dummy and we need it including all data from the original system. For example, the tester would be load with the user excutor the test case.

Thanks for you response.
srscftl
TestLink user
 
Posts: 4
Joined: Mon May 04, 2020 8:31 pm

Re: Export file XML test result wtihout dummy

Postby fman » Fri May 22, 2020 10:42 am

Hi
If you considered you have a bug -> open an issue on mantis.
The forum is not for managing issues.
You need to provide the complete steps to reproduce, step by step
fman
Member of TestLink Community
 
Posts: 3089
Joined: Tue Nov 15, 2005 7:19 am


Return to Import / Export



Who is online

Users browsing this forum: No registered users and 1 guest