Hi,
I have written a perl script which reads the data from xls and import all the test-cases diretly into the TestLink MySQL DB (including keywords, custom fields) with categories. I have tested the script with various projects in my team and it is working fine.
I am using DBI and ParseExcel module to do this task.
Currently I am working on a small readme. Once finished I will post the script with readme and sample xls.
Regards,
Arun Garg
Script to import test-cases from xls including Custom Field
While being able to manipulate custom field data via the XML structure already in place, a script that works with a spreadsheet might be a useful substitute. Does the script work in both directions? Can I export existing scripts to Excel?
Better still would be the ability to manipulate field for multiple test cases at once. A shift+click equivalent.
Smittie
Better still would be the ability to manipulate field for multiple test cases at once. A shift+click equivalent.
Smittie
Script to import test-cases from xls (attached)
Hi,
Sorry for the delay is writing readme and sample xls file. Please find attached the XlsToTestLinkImport.rar which has the perl script and readme etc to import test-cases from xls (including custom fields, keywords etc).
Please let me know if you find any issues.
Regards,
Arun Garg
Sorry for the delay is writing readme and sample xls file. Please find attached the XlsToTestLinkImport.rar which has the perl script and readme etc to import test-cases from xls (including custom fields, keywords etc).
Please let me know if you find any issues.
Regards,
Arun Garg
I apologize to Arun. Please download the script here:
http://www.teamst.org/_tlstore/XlsToTes ... Import.rar
http://www.teamst.org/_tlstore/XlsToTes ... Import.rar
Hi Sandeep,
Sorry, the script will not work properly in this case.
The script considers one row as a one test-case (if the data is correct) otherwise it will skip the row.
In your case, the script will consider first row which has all the data and import it. While it will skip the subsequent rows (which has only results and expected results) as the data is not sufficient for the script for these rows.
Regards,
Arun Garg
Sorry, the script will not work properly in this case.
The script considers one row as a one test-case (if the data is correct) otherwise it will skip the row.
In your case, the script will consider first row which has all the data and import it. While it will skip the subsequent rows (which has only results and expected results) as the data is not sufficient for the script for these rows.
Regards,
Arun Garg
-
- TestLink user
- Posts: 11
- Joined: Mon Mar 24, 2008 6:37 am