RQM Excel Import
This is regarding “RQM Excel Importer” utility. I am trying to import table of excel into section of my test case using HTML() function in config file.
// Start looking for test cases on row 2
testcase.XLSStartRow=2
testcase.XLSArtifactID=A
testcase.dc:title=B
testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition", "RQM-KEY-TC-PRE-COND-TITLE")=HTML("<table border='1'><thead><tr><th>" & C & "</th><th>" & D & "</th><th>" & E & "</th></tr></thead><tbody><tr><td>" & C & "</td><td>" & D & "</td><td>" & E & "</td></tr></tbody></table>")
This helps me to import single row of table into that particular section, but not the complete table.
I want to import able from C1 to E3 and for test case 2 from C4 to E7. Currently I am able to import only single row for every test case.
Kindly suggest the possible ways
|
Accepted answer
Sudarshan,
As you are enumerating each row for testcase attributes, you will be able to process only one row for HTML table. If you need to have multiple row for HTML table then I would suggest to spread entire table data in a single row and let configuration syntax prepare table using HTML tags.
Regards,
Mehul
Sudarshan M selected this answer as the correct answer
Comments
Sudarshan M
commented May 06 '20, 5:15 a.m.
hi mehul,
Am not getting your point, could you please explain in brief!
Regards, Sudarshan M |
One other answer
Sudarshan,
Change your data as
and write configuration file as
HTML("<table border='1'><thead><tr><th>" & C & "</th><th>" & D & "</th><th>" & E & "</th></tr></thead><tbody><tr><td>" & F & "</td><td>" & G & "</td><td>" & H & "</td></tr></tbody></table>")
Regards,
Mehul
|
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.