Import testcases from Testlink 1.7.4 to 1.9.2

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

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
SQADude
TestLink user
Posts: 9
Joined: Wed Jan 20, 2010 4:31 am

Import testcases from Testlink 1.7.4 to 1.9.2

Post by SQADude »

We upgraded our Testlink from v1.7.4 to v1.9.2.

We copied the testcases by Exporting them from v1.7.4. This puts the testcases in an XML file.

Then we imported the XML files into v1.9.2

However, there are a couple of problems when we did this.

1) The database schema has changed from v1.7.4 to v1.9.2. In 1.7.4, the Steps and expected_results were fields in the table tcversions. In v1.9.2, they are in a separate table called tcsteps.

Thus, any steps we had written for the testcases in v1.7.4 are no longer in 1.9.2

2) In the v1.7.4 testlink the custom fields could be Displayed and Enabled on both the test specification and test execution web page. In v1.9.2, the custom fields can only be displayed/enabled in either the test specification OR test execution page, but not both.


Q1) I could write a script that copies the relevant steps for problem #1. But is there a script or tool out there that will handle this? I'd rather do that than write my own script.

Q2) How can I make custom fields displayed/enabled on both the test specification and test execution web page?


Thx...
68K
Advanced user
Posts: 22
Joined: Wed Sep 02, 2009 10:49 am

Re: Import testcases from Testlink 1.7.4 to 1.9.2

Post by 68K »

Hi -
Re: execution steps, I wrote a Python script to transform old execution steps (a single block of text) into the new execution steps format

Please see this topic:
http://www.teamst.org/forum/viewtopic.php?f=11&t=3990
Post Reply