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.
Import test step results
Moderators: Amaradana, TurboPT, TL Developers
Re: Import test step results
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.
If you do not provide the sample xml file used, no possibility to help exists.
get latest stable version, retest & provide feedback.
Re: Import test step results
I am using Testlink 1.19.14 (Padawan)
This is the example I used:
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>
Re: Import test step results
please get 1.9.15, do fresh install, retest & provide feedback
Re: Import test step results
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)?
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)?