RQM 5.0: Importing Test Script with Test cases in RQM
I have installed RQMExcelImporter and i am able to import my test cases.
Here is the question-
In my excel sheet one column contains Test Script in which for some of the test cases Test script enrty is there and blank column for rest of the test cases. Now, if i am tryig to import test cases only are gtting impoted which respected Test Script column contains enrty but not all. i want to import all the test cases whether Test script is there or not.
Can anybody tell me specific enrty for Test Script i need to mentioned in configuration file . Thanks in Advance.
Here is the question-
In my excel sheet one column contains Test Script in which for some of the test cases Test script enrty is there and blank column for rest of the test cases. Now, if i am tryig to import test cases only are gtting impoted which respected Test Script column contains enrty but not all. i want to import all the test cases whether Test script is there or not.
Can anybody tell me specific enrty for Test Script i need to mentioned in configuration file . Thanks in Advance.
Accepted answer
Hi Naveen,
Have you used testcase.XLSLink = testscript in your cfg? If yes then it is expected behavior because having this line means you are saying to create that many testcase as many TestScripts, have 1-1 mapping between testscript and testcase. So if the testcases which dont have testscript value will not get exported because 1-1 mapping doesnt happen.
What you can do is export the testscripts first. Then export the TestCases and link testscript using below attribute where column K will have id value of testscripts
testcase.testscript=Link(K)
Have you used testcase.XLSLink = testscript in your cfg? If yes then it is expected behavior because having this line means you are saying to create that many testcase as many TestScripts, have 1-1 mapping between testscript and testcase. So if the testcases which dont have testscript value will not get exported because 1-1 mapping doesnt happen.
What you can do is export the testscripts first. Then export the TestCases and link testscript using below attribute where column K will have id value of testscripts
testcase.testscript=Link(K)
Comments
Hi Reshma,
Here is my .config file in which i have deleted custom sections in order to make in simple. now, what happening after importing completion process all the Test scripts[3] are getting associated with all test cases[11]. Since i am new to RQM so i don't know which is the correct way whether all test script should be associated with every test case or only to the particular that i need to conform or you can conform right now . Anyway Thanks for help.
testcase.XLSStartRow=5
testcase.dc:title=B
testcase.dc:description=C
testscript.XLSStartRow=5
testscript.dc:title=H
testscript.XLSLink=H
testcase.XLSLink = testscript
testscript.XLSDelimeter=\n