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

import image as well as text(rich/plain) in a Test script step's description and expected result column

the RQMExcelImporter provides way to import Image, text(rich/plain) to a test script's "description" and "expected result" column.

but while trying to import both image as well as text it did not import both in the mentioned columns.

later i tried to import text 1st then import image later in the mentioned columns so as the cumulative result will be the same as of importing both.

but the text which i had imported in step1st was erased for all steps, and the image was imported in the prescribed place.

0 votes



4 answers

Permanent link
Hello!

Can you try the excel sheet & cfg file with name : "Test Cases made from scripts with images"

Location : <RQM Excel Exporter>\samples
default loc on Win 7 OS : C:\Program Files (x86)\ibm\RQMExcelImporterNew\Samples

Best regards
Sunil

0 votes


Permanent link
I have the same question - some expected results are text and some are images.  The .cfg seems to only allow 1 or the other:

testscript.steps.expectedResult=image(H)
// testscript.steps.expectedResult=H

If I uncomment the 2nd entry, the exporter throws an exception about a duplicate.

The image is imported just fine, but other test steps with just text are left blank.

Has anyone come up with a workaround?

Thanks,
Lorinda

0 votes


Permanent link
 Hi
one way is to use "&"
testscript.steps.expectedResult=H & image(H) 
&  The ampersand symbol is used to add two or more bits of data to the same field. The data can be a mix of items such as:  testcase.description=”my description:” & C4

0 votes

Comments

thank you Hao Wan


Permanent link

Hello @Lorinda Kress

try this following config statement.

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

The column H of your excel sheet will have thetext as well as the image.

0 votes

Comments

How can I import images from Word document using ETMWordImporterX64ForDotNET45 tool 


I am trying below syntax but not working out 
testscript.steps.comment=image(Table("Account Name").E)
or 
testscript.dc:attachments =Table("Account Name").E

I would suggest to ask your own question, instead of hoping to get an answer for a comment on a 10 year old question.

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
× 12,019

Question asked: Apr 23 '13, 5:05 a.m.

Question was seen: 6,147 times

Last updated: Oct 18, 2:33 a.m.

Related questions
Confirmation Cancel Confirm