Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

One incorrect test case creating into RQM using RQMExcelWordImporter

I have 1to1 mapping in test cases & test scripts. So in my spreadsheet, I have a column "B" representing test case name. Using that column, I am writing below code:

testscript.XLSArtifactID="TS_" & B
testscript.dc:title="TS_" & B

testcase.ID=testscript.XLSArtifactID

//testcase.XLSArtifactID="TC_" & B ---with/ without this, not useful
testcase.dc:title="TC_" & B

for example if I have 2 test scripts in my spreadsheet then 2 test scripts are correctly imported into RQM but there are 3 test cases are imported; 2 are correct & linked correctly with test scripts and 1 incorrect test case (name with TC_ only. no content). Please let me know how can I escape from that incorrect test case?

With regards,
Vivek Agarwal  

0 votes



2 answers

Permanent link
Hi Vivek,
in your excel document, are there more than one worksheet and one is blank?
and are you using Excel IMporter 3.x, if so because you are using testcase.dc:title="TC_" & B
even blank worksheet will create new testcase as the title will not be blank, "TC_"+"" -> TC_ as title.
if you don't want to create it, just delete the blank worksheet will be ok.
by the way, we have fix the problem in Excel Importer 4.x in Excel migration when using only static cells and literal strings, empty worksheets still create XMLs (51394)

0 votes

Comments

There is only one worksheet with test scripts. I don't have any blank worksheet. Excel importer version is "1.0.4465.14983". I am working on client's RQM sandbox on different network & not possible to switch to another version.

can you send me the use case through email?

I am not able, what is use case here? Also please let me know your email id.

Hi Vivek, you can send email to wanhaobj@cn.ibm.com, and send the excel and config file you met the problem, thank you.

Hi Hao, I don't have anything on my system, everything is on client network & not possible to transfer the file from there. I'll try to describe both the file here:

  1. Excel sheet: S.No. Test Case Name Subject Step No. Action Expected Owner ------ ---------------------- ---------- ---------- -------- ------------ -------- 1 To check for... Objective: Step 1 Login.. success.. vivek

           .....                                                     Step 2      ......          .......
    

    </n> 2 .......... .......... Step 1 ..... ........ xyz ...... Step 2 ...... ........

  2. Config file: Almost (with some changes) similar to sample config file "Scripts that create testcases.cfg". What changes I have made in config file are mentioned in my original question.

Please let me know if you need any other information.

With regards, Vivek Agarwal

Hi Vivek, did you met the same problem when using the sample "Scripts that create testscase"? if not please suggest how to change the sample to recreated the problem you met, so we can better understand your problem.

Hao, problem is not due to changes in excel sheet. Problem is only due to changes in config file. For replicate the issue, you can make changes in config file with the help of first question which I have raised here.

Hi Vivek, I just tried with RQM Excel Importer 3.0.1.4, and using the similar config file as you mentioned, I met the same problem, and I tried with RQM Excel Importer 4.0 and it works fine, so the problem has been fixed in 4.0, if you need this fix in 3.0 please open a defect on 3.x importer.

Hi Hao, this new fix (on 3.x) will not be useful for me as this will not be available on client network. So I have to work on the same version & same fix. Please let me know any work around here.

showing 5 of 9 show 4 more comments

Permanent link
Hi Vivek,
one alternative way is using
testcase.dc:title=B  instead of testcase.dc:title="TC_" & B

0 votes

Comments

But it doesn't solve my purpose. :(

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 24 '12, 7:32 a.m.

Question was seen: 5,177 times

Last updated: Aug 30 '12, 5:05 a.m.

Confirmation Cancel Confirm