Printed MS Word Test Plan/Cases lost image

The release related discussions, plans and questions.
Locked
ddai
TestLink user
Posts: 5
Joined: Tue May 06, 2008 6:10 am
Location: Shanghai, China

Printed MS Word Test Plan/Cases lost image

Post by ddai »

I followed below link (TestLink - open source Test management - HowTo configure upload images using FCK editor) to enable using image in Testcases. And Print Test Plan/Cases can work correctly with HTML export.
http://www.teamst.org/index.php?option= ... 3&Itemid=2

But when I use MS Word export, all the images lost (show blank frame where should be image).

How can I resolve it?

Thank you,
DDai
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

It seems that the MSword has problem with relative path to images. You can save html and open in msword as workaround. The final solution is to add full image path for images.

I have two idea:
1. Look at FCKeditor configuration if it could be set via some configuration.[/list]
2. Parse the final data text for image tag and insert the full path into code.
ddai
TestLink user
Posts: 5
Joined: Tue May 06, 2008 6:10 am
Location: Shanghai, China

Thank you

Post by ddai »

It can be resolved after I change the image path to the full one. Though it's not convenient. I hope it can be resolved in testlink new version.

Thank you! :)
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Give us an info how you modify it. It saves our time. Do it via tracker if you can. Thanks.
ddai
TestLink user
Posts: 5
Joined: Tue May 06, 2008 6:10 am
Location: Shanghai, China

I didn't change the code

Post by ddai »

I mean modify the exported Testplan.doc file (xml format). Open it and change all the relative path into full path.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

I see. It's a workaround, not a solution.
Locked