Announcement

Collapse
No announcement yet.

Attachments

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Attachments

    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?

  • #2
    There are link fields which can be used to add attachments but these are not copied to the database so the link needs to remain valid.

    You can also use file:// type links to add links to documents within the text fields.

    Comment


    • #3
      but the attachment doesn't export to report.
      ???
      how to make it real to external user(no database access right,no network for http)?

      Comment


      • #4
        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


        • #5
          so, only images folder directory will be exported?
          let say,i would like my image appeare at project test case (test description)
          which template should i added a column of image command?(<img src="C:\Program Files\TestLog\images\try.gif">)

          Comment


          • #6
            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


            • #7
              Originally posted by TimR View Post
              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.
              I tried to copy my image to C:\Program Files\TestLog\images\try.JPG
              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


              • #8
                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


                • #9
                  ok.too many steps to do that.
                  so I'll still stick to http server (photobucket/imageshack) to upload n store the images.
                  Is there any solution on the next testlog change?

                  Comment

                  Working...
                  X