It would be nice to add attachments to a test case, for example, a csv list used to test a distribution list manager. Is this possible?
Announcement
Collapse
No announcement yet.
Attachments
Collapse
X
-
Currently the link is not exported or copied to the database in any way.
The only workaround to have the attachments available to people without access to a network would be to manually copy the attachments to a folder or place them in the "images" directory which is copied automatically when doing a web export.
Comment
-
If you want to add an image to a template file that will be exported you can place it in the image directory and link to it in the template file like <img src="<!--TL_IMAGEPATH-->/try.gif"> (like how other images in the template are linked). When used in the template files they will appear in all items viewed with that template. Linking like this can currently only work for templates.
Comment
-
Originally posted by TimR View PostCurrently the link is not exported or copied to the database in any way.
The only workaround to have the attachments available to people without access to a network would be to manually copy the attachments to a folder or place them in the "images" directory which is copied automatically when doing a web export.
then I paste the code
<img src="C:\Program Files\TestLog\images\try.JPG"
to my test descriptions.
then i run report wizart>web page export.
yes, i found the image is export to the report folder (D:\tryreport\try\images).
I open the html report and check the picture link,it is not the D drive point,but it still point to C drive.
So I guess the picture shown is still store in my C drive.
And my customer still can't see any image when I send the HTML folder to them.
Am I right?
correct me if i'm doing in wrong way.
thanks
Comment
-
The problem is that any hard link to an image like c:\... (in normal text fields) can't currently be converted by TestLog when exporting so the link will always remain c:\...
You could use relative linking and change the link manually in the exported report to "../../images/imagename" if your test case is a suite on the first level under Project Test Cases (and an extra ../ for every level under that) which will then link to the correct image location and the exported project can be moved around.
Changing the link to the same thing in TestLog before the export however and the link will not show up in TestLog as the relative link is invalid.
Comment
Comment