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

RQMExcelWordImporter - import image

Hi all,

I have tried to import a test case with linked test script, and in the test script I would like to have an image as part of the description.
So far I have failed to import an image to the field description. I used the syntax;
testscript.steps.description=image(A)

In the sample files it is sated that you can import images to the Expected results coloumn, and this part works (partly) fine;
testscript.steps.expectedResult=image(B)

So, shouldn't it be the same for the description field ??

And also, if an image is imported, it doesn't seem to import the text from the specific cell, but only the image, and I tried to run this;
testscript.steps.expectedResult=B
testscript.steps.expectedResult=image(B)

but that faild with a;
System.ArgumentException: Item has already been added. Key in dictionary: 'expectedResult' Key being added: 'expectedResult'
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.Add(Object key, Object value)
at Mso2Rqm_Common.PreferenceStore.load()
at Mso2Rqm_Common.ArtifactFactory.createArtifacts(String configFile, Workbook workbook, String sProjectName)
at RQMExcelExporter.ExcelExportRepositoryDialog.handleExportToRepository(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

So, what to do - I'm a bit lost here!?? :?:

0 votes



2 answers

Permanent link
Hello Soren and Celine,

Please use the following syntax to get the text and image from the same cell in Excel spreadsheet in to the test script:

testscript.steps.description=A & " " & image(A)

testscript.steps.expectedResult=F & " " & image(F)


You may need to download/install the latest version of the RQMWordExcelImporter (4.0.4) from jazz.net:

The RQMExcelImporter 4.0.4 can be downloaded from:
 
https://jazz.net/downloads/rational-quality-manager/releases/4.0.4?p=allDownloads
 
Scroll down to Microsoft Excel and Word to Rational Quality Manager Import Utility.

Note that it is compatible with RQM 4.0.x.

I hope this helps.
Best regards,
Diane

1 vote

Comments

Thank for your answers, you resolved my problem.


Permanent link
Hello, I go back this question!

I have the same problem and I hope someone help us.
I tried also this syntaxe but alone in result : image, can we have image and text in the same cell?

testscript.steps.expectedResult=B
testscript.steps.expectedResult=image(B)

Thanks

0 votes

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: May 18 '11, 5:25 a.m.

Question was seen: 5,061 times

Last updated: Oct 11 '13, 3:56 a.m.

Confirmation Cancel Confirm