Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Error importing into test case section from Excel

Hi,
I am trying to import test cases from Exccl. This is working well, except when I try to import data into a section I get an error.

From the XML it looks like the <section> element is not formed properly:

A name contained an invalid character. Error processing resource 'file:///V:/VMT/testcase/Sample_Test_Case_For_RQM_with_Act...

<section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")>JS: To verify new Age...


The error is on the open bracket (which I must admit I was not expecting, or the text in brackets and quotes) in the section element.

Has anyone else seen this error? My input for this section is:

testcase.section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D

Jim.

0 votes



3 answers

Permanent link
In case any one else bumps into this, or similar:

The configuration file is currently case sensitive, so the line "testcase.section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D"

needs to have the "Section" capitalized. So "testcase.Section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D"

Regards,
John

Hi,
I am trying to import test cases from Exccl. This is working well, except when I try to import data into a section I get an error.

From the XML it looks like the <section> element is not formed properly:

A name contained an invalid character. Error processing resource 'file:///V:/VMT/testcase/Sample_Test_Case_For_RQM_with_Act...

<section>JS: To verify new Age...


The error is on the open bracket (which I must admit I was not expecting, or the text in brackets and quotes) in the section element.

Has anyone else seen this error? My input for this section is:

testcase.section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D

Jim.

0 votes


Permanent link
In case any one else bumps into this, or similar:

The configuration file is currently case sensitive, so the line "testcase.section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D"

needs to have the "Section" capitalized. So "testcase.Section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D"

Regards,
John

Hi,
I am trying to import test cases from Exccl. This is working well, except when I try to import data into a section I get an error.

From the XML it looks like the <section> element is not formed properly:

A name contained an invalid character. Error processing resource 'file:///V:/VMT/testcase/Sample_Test_Case_For_RQM_with_Act...

<section>JS: To verify new Age...


The error is on the open bracket (which I must admit I was not expecting, or the text in brackets and quotes) in the section element.

Has anyone else seen this error? My input for this section is:

testcase.section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D

Jim.


Thanks - the error has now gone away, but I get nothing in the Pre-Condition section after the import. There are no error messages in the output or log files.

Does anyone have a working example spreadsheet and config file I could try?

Jim.

0 votes


Permanent link
Hi All,

Again... just i case this is a problem for others

I also discovered the case-sensitivity solution today. The Wiki/help for the tool shows lowercase "s"; but a sample .cfg file showed:

testcase.Section("myns:com.ibm.rqm. etc etc

I also found that the RQMWordExcelImporter tool sticks a spurious "case>" tag at the end of the XML. This caused a Error 406 when I attempted to PUT the artefact through the API.

Regards, Simon

In case any one else bumps into this, or similar:

The configuration file is currently case sensitive, so the line "testcase.section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D"

needs to have the "Section" capitalized. So "testcase.Section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D"

Regards,
John

Hi,
I am trying to import test cases from Exccl. This is working well, except when I try to import data into a section I get an error.

From the XML it looks like the <section> element is not formed properly:

A name contained an invalid character. Error processing resource 'file:///V:/VMT/testcase/Sample_Test_Case_For_RQM_with_Act...

<section>JS: To verify new Age...


The error is on the open bracket (which I must admit I was not expecting, or the text in brackets and quotes) in the section element.

Has anyone else seen this error? My input for this section is:

testcase.section("com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=D

Jim.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 07 '09, 6:10 a.m.

Question was seen: 6,666 times

Last updated: Oct 07 '09, 6:10 a.m.

Confirmation Cancel Confirm