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

How do I display embedded images in Test Scripts in my RPE output

Hello,

In some of my Test Scripts my test engineers have added images as part of the description field.

When I extract the description to publish in my word document the image does not get displayed only the link to the image on the server.

Images in Test Case and Test Plan sections come out fine though.

0 votes



2 answers

Permanent link
Do you mean images as part of Step description? You can get the images from both Step "Description" and "Expected Results" in RPE output.

Are you seeing this issue only for keywords or for execution steps also? For Step Description, if you are using testscript/steps/step/title, replace it with testscript/steps/step/description.

0 votes

Comments

On the examples I've working with the images are all in keywords. (I use 2 datasource configurations to firstly go from parent Test Script to the Keyword then from the Keyword to the Sub-Test Script)

I'm using testscript/steps/step/description and assigning that to a variable which I then assign to a text element in a cell.

Note I'm currently using RQM v4.0.6


Permanent link
You must select "XHTML Input" while assigning testscript/steps/step/description to variable and select "XHTML Output" while setting that variable as content for text element. Also note that the images will be shown only if the text element is within the query context (since qm user credentials are required for authenticating image url).


0 votes

Comments

This is not making any difference. I still only get links to the URLs and not the images returned in the RPE output.

In terms of user credentials I have a reporting user that has been created that has full access to everything.

I meant that RPE can authenticate only within the query context. That means, if you assign description value to variable v1 and use v1 outside the query context, RPE cannot get the image. However, in RPE 2.0.1, we have added "Inherited data configuration" property for Text element. Once you set it to datasource, the image would be shown.

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,025
× 332

Question asked: Dec 13 '15, 6:02 p.m.

Question was seen: 4,283 times

Last updated: Dec 15 '15, 6:44 a.m.

Confirmation Cancel Confirm