RQM 6.0.2: ExcelImporter - 2. Link test suite to an existing test plan 2. How to set custom atrributes/categories for the test suite in the config file?
Hi,
In my configuration file, I create new test suite with test cases. I would like to link the test suite i am creating to an existing test plan. How can I accomplish that in the config file for the ExcelImporter?
Also, how do I set custom attributes and categories for the test suite in the config file?
I am using RQM 6.0.2 and same excel importer.
Thank you.
In my configuration file, I create new test suite with test cases. I would like to link the test suite i am creating to an existing test plan. How can I accomplish that in the config file for the ExcelImporter?
Also, how do I set custom attributes and categories for the test suite in the config file?
I am using RQM 6.0.2 and same excel importer.
Thank you.
Accepted answer
Neeta.
You can use LinkExisting keyword - 'testsuite.testplan=LinkExisting("testplanid")' where testplanid is external/internal id of the test plan i.e. urn:com.ibm.rqm:testplan:3.
Categories are defined with the category term=<category name>.value=<category value> notation: i.e. testsuite.category term="Test Phase".value="Developer Test"
Hope this clarifies.
Regards,
Mehul
One other answer
Neeta,
Please refer RQMExcelImporter's sample folder for cfg file 'TestSuite with TestCases 001.cfg', you can add following syntax to it and it will link testplan to testsuite.
/// ----
testplan.dc:title=C1
testplan.dc:description=A4
testplan.XLSLink=testsuite
/// ---
Add following line to update custom attributes
//---
testsuite.customAttributes name="Custom_name".value=C1
//---
Please refer RQMExcelImporter Wiki for supported syntax and example.
Regards,
Mehul