testcase.ID=testscript.XLSArtifactID appears to be crerating two new sections in my imported test case
Hello, I thought I’d debugged a configuration file update to import test cases and scripts under one Excel tab honoring separate naming conventions for both the test script and test case. All is working great with the exception that the test case is getting created with two new sections, one named ‘ID’ with text containing the test script name, and a section named ‘XLSArtifactID’ with the test case name. My configuration file is below… any help greatly appreciated. Scott ---------------------------------------------------------------------
//Start looking for assets after row 1
//A new test script starts when we encounter an empty row
//Set the test script name and ID
//Test scripts are not required to be in an approved state in order to run the TER record. Test cases are.
//Step type is defined within the spreadsheet <== need to add step type column to support reporting steps, TBD
//Set the test script description
//Set the test steps description
//Set the expected result
//Set the test case ID to match the test script ID
//A new test case starts when we encounter an empty row
//Set the test case name and ID
//Test Cases need to be in Draft in order to generate TER records from underneath the test plan.
//Set the test case description
//Set the test case precondition
//Set the test case postcondition
//Set the Owner of the test case from Spreadsheet in Domain format (E.g.: AB92383)
//Set test case weight = 100
//System/Subsystem category values should match Barometer IT/ClearQuest values.
//Import valid test case project specific categories
//Link the test case and test script
//End of file |
One answer
Hi Welborn,
when you are using "testcase.ID=testscript.XLSArtifactID" to do a 1-1 link between testscript and testcase, then a new attribute will be created named ID for testcase. but I saw you also use testcase.XLSLink=testscript to do a 1-many link between testcase and testscript, I think it's not needed to use both of them, if your worksheet have one testcase and many or one testscript you can use testcase.XLSLink=testscript, and delete the config "testcase.ID=testscript.XLSArtifact. and there's many testcases and testscripts that you want to do a 1-1 link then keep the testcase.ID=testscript.XLSArtifactID adn delete testcase.XLSLink=testscript. and for the section XLSArtifactID, it's created from the config file testcase.XLSArtifactID=A, which will use the column A to construct the external id of testcase and create a new section to store the XLSArtifactID. |
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.