Import test step results

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

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
tom1
Advanced user
Posts: 23
Joined: Thu Nov 11, 2010 4:40 pm

Import test step results

Post by tom1 »

How can I import test results (from XML) including the results for each test step?

I tried to export existing results, changed some values and imported it again. The overall result for the testcase including execution notes was used, but the single test step results were ignored. The import was ok without error messages.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Import test step results

Post by fman »

If you do not provide info about the TestLink version you are using, nobody will be able to help.
If you do not provide the sample xml file used, no possibility to help exists.

get latest stable version, retest & provide feedback.
tom1
Advanced user
Posts: 23
Joined: Thu Nov 11, 2010 4:40 pm

Re: Import test step results

Post by tom1 »

I am using Testlink 1.19.14 (Padawan)

This is the example I used:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!-- TestLink - www.testlink.org - xml to allow results import -->
<results>
<testcase external_id="TEST-42">
<result>p</result>
<notes>test link rocks</notes>
<tester>dummy</tester>
<bug_id>5</bug_id>
<steps>
<step>
	<step_number>1</step_number>
	<result>p</result>
	<notes>your step exec notes</notes>
</step>
<step>
	<step_number>2</step_number>
	<result>p</result>
	<notes>your step exec notes</notes>
</step>
<step>
	<step_number>3</step_number>
	<result>p</result>
	<notes>your step exec notes</notes>
</step>
<step>
	<step_number>4</step_number>
	<result>p</result>
	<notes>your step exec notes</notes>
</step>
</steps>
</testcase>
</results>
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Import test step results

Post by fman »

please get 1.9.15, do fresh install, retest & provide feedback
tom1
Advanced user
Posts: 23
Joined: Thu Nov 11, 2010 4:40 pm

Re: Import test step results

Post by tom1 »

I installed 1.9.15 and did some testing.
Import from the example xml worked fine!

A follow up question raises during testing this issue:
Is it possible to edit the test step results afterwards (like the test note)?
Post Reply