RQM Excel Importer tool 602: How to use the sample file: "Testsuite with testcases that have testscripts.cfg" without XLSArtifactID
I am doing some tests related to Uniqueness in RQM.
The only way to create unique id automatically would be by not using XLSArtifactID, however we are facing a failure to importing test suites when using the sample file: "Testsuite with testcases that have testscripts.cfg" without XLSArtifactID (it seems to be a defect specific for test suites).
They customer asked me how to use the sample file: "Testsuite with testcases that have testscripts.cfg" without XLSArtifactID
They want to comment the lines below so the Excel Importer tool can create the id automatically instead:
testscript.XLSArtifactID=B
testcase.ID=testscript.XLSArtifactID
I'm getting the following error:
9/8/2016 7:22:38 PM: Error sending to server Testsuite_with_testcases_that_have_testscripts2_Sheet1_1.xml of type testsuite
9/8/2016 7:22:38 PM: Internal Server Error
Thanks!
===============
// This configuration file creates a test case with each test script and links them.
//Also there is a singular testsuite created that has all of the testcases in it.
// Start looking for scripts after row 2
testscript.XLSStartRow=5
// use the data in the first row of a found script's column B
//testscript.XLSArtifactID=B
testscript.dc:title=B
testscript.dc:description=C
// the literal "execution" will be put into the step type tag, so all steps will be of type execution
testscript.steps.type="execution"
testscript.steps.description=E
testscript.steps.title=D
testscript.steps.name=D
testscript.steps.expectedResult=F
// a new script starts when we encounter an empty row
testscript.XLSDelimeter=\n
// we want to use the data we got for each test script to create a test case
//testcase.ID=testscript.XLSArtifactID
// by referring to the testscript's field instead of the column that data comes from
// the tool will also create links to each of the test scripts.
testcase.dc:title=testscript.dc:title
testcase.dc:description=testscript.dc:description
testsuite.dc:title=B1
testsuite.dc:description=B2
testsuite.XLSLink=testcase
The only way to create unique id automatically would be by not using XLSArtifactID, however we are facing a failure to importing test suites when using the sample file: "Testsuite with testcases that have testscripts.cfg" without XLSArtifactID (it seems to be a defect specific for test suites).
They customer asked me how to use the sample file: "Testsuite with testcases that have testscripts.cfg" without XLSArtifactID
They want to comment the lines below so the Excel Importer tool can create the id automatically instead:
testscript.XLSArtifactID=B
testcase.ID=testscript.XLSArtifactID
I'm getting the following error:
9/8/2016 7:22:38 PM: Error sending to server Testsuite_with_testcases_that_have_testscripts2_Sheet1_1.xml of type testsuite
9/8/2016 7:22:38 PM: Internal Server Error
Thanks!
===============
// This configuration file creates a test case with each test script and links them.
//Also there is a singular testsuite created that has all of the testcases in it.
// Start looking for scripts after row 2
testscript.XLSStartRow=5
// use the data in the first row of a found script's column B
//testscript.XLSArtifactID=B
testscript.dc:title=B
testscript.dc:description=C
// the literal "execution" will be put into the step type tag, so all steps will be of type execution
testscript.steps.type="execution"
testscript.steps.description=E
testscript.steps.title=D
testscript.steps.name=D
testscript.steps.expectedResult=F
// a new script starts when we encounter an empty row
testscript.XLSDelimeter=\n
// we want to use the data we got for each test script to create a test case
//testcase.ID=testscript.XLSArtifactID
// by referring to the testscript's field instead of the column that data comes from
// the tool will also create links to each of the test scripts.
testcase.dc:title=testscript.dc:title
testcase.dc:description=testscript.dc:description
testsuite.dc:title=B1
testsuite.dc:description=B2
testsuite.XLSLink=testcase
Accepted answer
As I mentioned in the other post, it is very likely a defect against the "testsuite.XLSLink=testcase" configuration.
To workaround this, you can generate some unique IDs in one of the columns in the Excel sheet before exporting it to RQM. Note that the "unique" ID that the RQM Excel Importer generates relies on the file name, so it is unique to a degree only. In other words, if you import two files that happen to have the same name, you can unknowingly update the test cases created at the first attempt, instead of creating new ones. That is to say, specifying unique IDs explicitly (in the content) can be better than doing so implicitly (relying on the file name).
To workaround this, you can generate some unique IDs in one of the columns in the Excel sheet before exporting it to RQM. Note that the "unique" ID that the RQM Excel Importer generates relies on the file name, so it is unique to a degree only. In other words, if you import two files that happen to have the same name, you can unknowingly update the test cases created at the first attempt, instead of creating new ones. That is to say, specifying unique IDs explicitly (in the content) can be better than doing so implicitly (relying on the file name).
Comments
Don Yang
Sep 13 '16, 1:19 a.m.Joao Carusi
Sep 13 '16, 1:49 p.m.Don Yang
Sep 13 '16, 8:33 p.m.Joao Carusi
Sep 14 '16, 10:30 a.m.Joao Carusi
Sep 14 '16, 2:00 p.m.Don Yang
Sep 14 '16, 8:54 p.m.1 vote
Don Yang
Sep 19 '16, 5:59 a.m.1 vote