Hi All,
The long awaited Testlink import macro for 1.9 is here. This is only a very basic version. Please let me know if you come across any issues. Follow the link to get the excel with macro.
https://docs.google.com/file/d/0BzBCa6US6n8TV0ZTLXlZa25vcUk/edit?usp=sharing
Please make sure that there are no blank rows. This will make the macro run in infinite loop.
I don't have time to do the validations. If anybody has the time and does the validations, please share with me!
This macro includes support for the following fields:
Requirements:
The macro can perform the following imports:
The second line in the testcases XML, which has the exact text as below:
and the last line in the same XML, which has the exact text as below:
The long awaited Testlink import macro for 1.9 is here. This is only a very basic version. Please let me know if you come across any issues. Follow the link to get the excel with macro.
https://docs.google.com/file/d/0BzBCa6US6n8TV0ZTLXlZa25vcUk/edit?usp=sharing
Please make sure that there are no blank rows. This will make the macro run in infinite loop.
I don't have time to do the validations. If anybody has the time and does the validations, please share with me!
This macro includes support for the following fields:
Requirements:
- Requirment Specification
- Document ID
- Title
- Scope
- Custom Fields
- Requirements
- Document ID
- Title
- Description
- Status
- Type
- Expected Coverage
- Custom Fields
- Test Suite
- Name
- Details
- Custom Fields
- Test Cases
- Name
- Summary
- Preconditions
- Execution Type
- Importance
- Custom Fields
- Multiple Requirements associated with Test Cases
The macro can perform the following imports:
- Import Requirement Specification only
- Import Requirements only
- Import Requirement Specification with Requirements
- Import Test Suite only
- Import Test Cases only
- Import Test Suites with Test Cases
- Import Test Cases with Requirements (single/multiple Doc IDs separated by commas)
- Import Test Suites with Test Cases associated with Requirements
The second line in the testcases XML, which has the exact text as below:
and the last line in the same XML, which has the exact text as below:
Regards,
Gowri
Gowri
Hi, I can't seem to get the requirements in at all. I just get a 'Warning' dialog box with no information. The Test suites/cases are fine and the xml looks good (as far as I can see). Has anyone else had this problem? I'm using Testlink 1.9.1 if that makes a difference. None of the columns are blank. Many thanks
ReplyDeleteDan
Are you able to see the XML opened correctly in IE?
DeleteYou have a good point here!I totally agree with what you have said!!Thanks for sharing your views...hope more people will read this article!!!
ReplyDeleteexcel vba courses london
Thank you so much for the macro Gowri..It is really useful.
ReplyDeletethe code in the notes is not visible
ReplyDeleteThe xls file has code embedded in it. You should look in the macro editor in excel for the code.
DeleteMacro is very useful... Thanks Gowri.
ReplyDeleteI tried deleting the requirements sheet but Macro didnt work.
Hi Sheetal,
DeleteDid you try deleting the Requirements column in TestCases sheet?
this macro gives me an error on this line
ReplyDeletexmlReqFileName = Left(xlsFileName, Len(xlsFileName) - extLen) & "_Req.xml"