Hi All,
We are planning to use Test Link as our Test Management tool for our project and currently checking all the possibility of using Test link for your project.
We have around 10000 test cases in XML format, divided into many test suites. I would like to clarify on possibilities to import the test cases with the format we have currently, since we have many other tags which are not available in TestLink. When we try to import the test cases (in the format we have) to TestLink, it throws the error message saying "xml_load_ko".
Our sample Test case is as below:
<TestCase Number="150-205-008" FileName="TestCase Name" Source="Requirement name" OS_Host_Support="Supproted OS" OS_Host_Exclusion="Which OS need to be excluded" Config="Simple configuration or Complex configuration" FOS_Support="what platform supported" TestType="UI or Functionality" Editions="All" Obsolete="True or false">
<Title>Test Case title</Title>
<Objective>Verification need to be done for this test case</Objective>
<Steps>[PROCEDURE]
1) Steps to perform testing.
[VERIFICATION]
1) Verification need to be done for testing.
</Steps>
</TestCase>
But when i went through the TestLink file format document, i found that the text case should be in the below format for importing. And it works fine when i took one of my test case and modify according to this format.
<testcase name="Verifying XML suite">
<summary>Verifying XML import is succesfull</summary>
<steps>Import the XML</steps>
<expectedresults>XML should import succesfull</expectedresults>
</testcase>
Could you please help us understanding whether we need to change all 10000 test cases to the supported format or we have any work around to import the same XML into TestLink.
Kindly help.
Thanks in Advance!!
Prem Ganesh
Importing the test cases in XML to Testlink
Moderators: Amaradana, TurboPT, TL Developers
-
- TestLink user
- Posts: 5
- Joined: Mon May 25, 2015 6:45 pm
Re: Importing the test cases in XML to Testlink
Best option is:
create a COMPLETE TEST CASE on TestLink and the export on XML.
save the file
delete the test case on testlink
import using file
if everything goes ok, you have the right format to use.
create a COMPLETE TEST CASE on TestLink and the export on XML.
save the file
delete the test case on testlink
import using file
if everything goes ok, you have the right format to use.
-
- TestLink user
- Posts: 5
- Joined: Mon May 25, 2015 6:45 pm
Re: Importing the test cases in XML to Testlink
Hi fman,
Thanks Much for your Suggestion!
Yes, i got the correct format now. But I just want to confirm if there is any way to modify something on Testlink and use the same test case format which we have currently. Since, changing all our 10000 test cases to the testlink supported format may be a tedious process.
Our sample Test cases is as below, which is not the correct format for importing into Testlink:
<TestCase Number="150-205-008" FileName="TestCase Name" Source="Requirement name" OS_Host_Support="Supproted OS" OS_Host_Exclusion="Which OS need to be excluded" Config="Simple configuration or Complex configuration" FOS_Support="what platform supported" TestType="UI or Functionality" Editions="All" Obsolete="True or false">
<Title>Test Case title</Title>
<Objective>Verification need to be done for this test case</Objective>
<Steps>[PROCEDURE]
1) Steps to perform testing.
[VERIFICATION]
1) Verification need to be done for testing.
</Steps>
</TestCase>
Thanks & Regards,
Prem Ganesh
Thanks Much for your Suggestion!
Yes, i got the correct format now. But I just want to confirm if there is any way to modify something on Testlink and use the same test case format which we have currently. Since, changing all our 10000 test cases to the testlink supported format may be a tedious process.
Our sample Test cases is as below, which is not the correct format for importing into Testlink:
<TestCase Number="150-205-008" FileName="TestCase Name" Source="Requirement name" OS_Host_Support="Supproted OS" OS_Host_Exclusion="Which OS need to be excluded" Config="Simple configuration or Complex configuration" FOS_Support="what platform supported" TestType="UI or Functionality" Editions="All" Obsolete="True or false">
<Title>Test Case title</Title>
<Objective>Verification need to be done for this test case</Objective>
<Steps>[PROCEDURE]
1) Steps to perform testing.
[VERIFICATION]
1) Verification need to be done for testing.
</Steps>
</TestCase>
Thanks & Regards,
Prem Ganesh
Re: Importing the test cases in XML to Testlink
custom format needs custom development => no simple workaround
Re: Importing the test cases in XML to Testlink
I have the same problem. When I import file XML to testing. It shows xml_load_ko. But I copy this file to other files, then import again. It imports successfully.