How to resolve RQMImporter "Input string not in correct format" issue?
I'm working on creating "cfg" files to work with a word document for my test case and test script. I'm looking at the test case first and have created a "cfg" file based on research and review of the sample files.
When I try to export to repository I get the following error: Error when parsing artifacts from the document: Input string was not in a correct format. My "cfg" looks like this: // This configuration (cfg) file will create/update a single test case based on // the associated .doc or .xls file. The matching <testcase>.doc or <testcase>.rtf // file defines the specific information to go in the RQM test case. // The “<rqmtype>.DOCTableStartRow” or “<rqmtype>.XLSStartRow” line indicates where // the script starts to read the information from in the .doc or .xls file. The // "Table(#)" references are to represent the tables in the .doc file in // numerical order. If a table is added in the middle of the .doc file, the // associated test case and test script "cfg" files will need to be updated. NOTE: // The first test case table in the .doc file is informational only and is not // referenced in this "cfg" file. testcase.DOCTableStartRow=Table(2).2 testcase.ID=Table(2).C2 testcase.dc:title=Table(2).C3 testcase.dc:description=Table(2).C4 testcase.alm:owner=Table(2).C5 testcase.category term="Test Phase".value=Table(2).C6 // The following custom sections are used to define the full test description, // pre-requisites, software, and outline. The // ("<Unique Identifier>", "<Custom Section Name>") comes from a POST in a GET Request. // testcase.Section(“myns:<Unique Identifier>”, “Test Description”)= Table(2).C7 // testcase.Section(“myns:<Unique Identifier>”, “Test Preparation”)= Table(2).C8 // testcase.Section(“myns:<Unique Identifier>”, “Outline”)= Table(2).C9 I'm choosing to use a word file because we have more data to upload than excel will allow per cell. My word file has the following: Test Case Information: The Column/Row reference will be used in the “cfg” file. Anything entered in Column C will be uploaded into RQM.
Table 1
Fill in this table with the test case specific information to update RQM with. RQM keeps a history of all changes so there is no need to keep track in the work document itself. Keep the column and row labels the same; do not change. The only data to be updated is the cells in white. Table 2
Thanks for the help! Karen |
Accepted answer
Karen,
The first line syntax is incorrect -
Either you can specify start of data row with a literal value or a Table cell representing that value, i.e.
OR
Hope it helps.
Regards,
Mehul
Karen Bown selected this answer as the correct answer
Comments
Karen Bown
commented May 03 '16, 7:55 a.m.
Hi Mehul, I used the "testcase.DOCTableStartRow=Table(2).B2" option. That definitely helped me get past the first hurdle. A couple of things happened:
Thoughts on what happened? Thanks, Karen |
One other answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.