TestCases custom attributes update using RQMExcelImporterForDotNET45
Hi,
2 answers
Hi, Raj
In your xls file, I suppose you have 3 existing test case related info in 3 rows(you want to update those 3 rows) and one of them I guess should have named "stage_cli_09".
In your cfg file, add a line
testcase.XLSArtifactID=S
in xls's 'S' column, for each row of existing test case, please add existing test case internal id there:
urn:com.ibm.rqm:testcase:xx
here xx should be the id of test case you see on test case UI.
You may want to create a brand new testcases over UI for a testing purpose.
For example your new test cases have id: 100, 101,102
you set
urn:com.ibm.rqm:testcase:100
for the row of test case 100
urn:com.ibm.rqm:testcase:101 for row test case101 and urn:com.ibm.rqm:testcase:102 for row test case 102
Then try to export and see if 3 of them got updated or not.
You would need to be careful here that the update means update those you specified in cfg file only and those not specified, it could be erased. For example, the testcase has a testscript linking to it. Since cfg file has no testscript specified, that link will be removed. Basically this is like a process to "recreate" the testcase using the existing testcase id only. Therefore, you may want to create some new testcase similar to your existing test cases and test with this approach and see how to update your cfg file to "preserve" those you want to keep and update only those you want.
I hope this helps you start with.
Comments
Hi Don,
Comments
Don Yang
Mar 12 '18, 8:52 p.m.Rajanikanth Kakarla
Mar 12 '18, 11:50 p.m.Don Yang
Mar 12 '18, 10:11 p.m.Rajanikanth Kakarla
Mar 13 '18, 6:41 p.m.Rajanikanth Kakarla
Mar 13 '18, 6:41 p.m.Rajanikanth Kakarla
Mar 13 '18, 8:34 p.m.Don Yang
Mar 13 '18, 6:51 p.m.Rajanikanth Kakarla
Mar 13 '18, 7:25 p.m.Don Yang
Mar 13 '18, 7:30 p.m.Rajanikanth Kakarla
Mar 13 '18, 8:33 p.m.