Hi,
I tried to attached test data file (xls. doc) to individual test case so that Test engineer can execute with appropriate data. When we are in execution and try to open the file and save it actually it opens in new tab or browser and try to render as html though it should open in MS excel application.
any solution for this??
Regards,
Prakash
Attachment file to test case does not open but executes
Moderators: Amaradana, TurboPT, TL Developers
Bellow is the HTTP headers requesting a XLS file. As you see the mime type on the response is not for a XLS but for Plain text file. I believe this is a TestLink issue rather than an Apache or Browser issue. TestLink properly identifies the mime types on Test case view page. It seems that it does not send correct mime type through the attachmentdonwload.php page.
http://10.100.10.121/testlink/lib/attac ... d.php?id=9
GET /testlink/lib/attachments/attachmentdownload.php?id=9 HTTP/1.1
Host: 10.100.10.121
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Referer: http://10.100.10.121/testlink/lib/testc ... case&id=26
Cookie: jira.conglomerate.cookie=; seraph.os.cookie=LabEjfuUSWnRtWqbLKVDUqhLxmFLhifAnB2bZQEv69D6it>0NH8MmKpPHcoOx>z<; seraph.confluence=OtbFpfjFUaRIHkeHeIwLbxqKxiRXBeLuycMx7AzsJ1cL7jEC6aI3kDSCR7hWP6h8; JSESSIONID=FB08B01E7FDDEF2D46E4DEA71D3AA62C; PHPSESSID=n4fbo4o8m84ksofn66n83dmuqjd88hs6
HTTP/1.x 200 OK
Via: 1.1 ISA01
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Transfer-Encoding: chunked
Date: Mon, 15 Sep 2008 01:36:47 GMT
Content-Type: text/html
Server: Apache/2.2.3 (Linux/SUSE)
X-Powered-By: PHP/5.2.5
Keep-Alive: timeout=15, max=100
----------------------------------------------------------
Waiting for your response.
Prakash
P.S. Version we have at present is 1.8 Beta.
http://10.100.10.121/testlink/lib/attac ... d.php?id=9
GET /testlink/lib/attachments/attachmentdownload.php?id=9 HTTP/1.1
Host: 10.100.10.121
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Referer: http://10.100.10.121/testlink/lib/testc ... case&id=26
Cookie: jira.conglomerate.cookie=; seraph.os.cookie=LabEjfuUSWnRtWqbLKVDUqhLxmFLhifAnB2bZQEv69D6it>0NH8MmKpPHcoOx>z<; seraph.confluence=OtbFpfjFUaRIHkeHeIwLbxqKxiRXBeLuycMx7AzsJ1cL7jEC6aI3kDSCR7hWP6h8; JSESSIONID=FB08B01E7FDDEF2D46E4DEA71D3AA62C; PHPSESSID=n4fbo4o8m84ksofn66n83dmuqjd88hs6
HTTP/1.x 200 OK
Via: 1.1 ISA01
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Transfer-Encoding: chunked
Date: Mon, 15 Sep 2008 01:36:47 GMT
Content-Type: text/html
Server: Apache/2.2.3 (Linux/SUSE)
X-Powered-By: PHP/5.2.5
Keep-Alive: timeout=15, max=100
----------------------------------------------------------
Waiting for your response.
Prakash
P.S. Version we have at present is 1.8 Beta.
Same problem with Testlink 1.8 RC5
Hi friends,
I have the same problem described on this post. When I try to open an upload file/image attached to any test case execution, the browser shows me the content of the file in a new html page.
Do you know if this problem is already fixed in Testlink 1.8.3 version?
Thanks in advance.
I have the same problem described on this post. When I try to open an upload file/image attached to any test case execution, the browser shows me the content of the file in a new html page.
Do you know if this problem is already fixed in Testlink 1.8.3 version?
Thanks in advance.
Hello,
We also have this issue (original problem in this post) with our Testlink installation on Linux but NOT on our Windows installation.
Any hint on how to fix this?
On the linux setup we always have binary being opened withing the web browser and no popup to save the attachment locally. This happens to all attachement (MSword, JPG, MSexcel...)
Thanks
We also have this issue (original problem in this post) with our Testlink installation on Linux but NOT on our Windows installation.
Any hint on how to fix this?
On the linux setup we always have binary being opened withing the web browser and no popup to save the attachment locally. This happens to all attachement (MSword, JPG, MSexcel...)
Thanks

-
- TestLink user
- Posts: 1
- Joined: Tue Feb 16, 2010 4:50 pm
Seeing this on many browsers
I am using 1.8.5 and now dont seem to have this problem.
It seems as though if I "reattach" the file, clickin on the old produces the screen "Attachment not found!"
But clicking the new one prompts me to open or save as expected.
It seems as though if I "reattach" the file, clickin on the old produces the screen "Attachment not found!"
But clicking the new one prompts me to open or save as expected.
-
- Advanced user
- Posts: 17
- Joined: Mon Sep 17, 2007 5:17 am
Re: Attachment file to test case does not open but executes
I've noticed that the Linux version of Testlink 1.8.5 doesn't have "/var/www/testlink/third_party/fckeditor/editor/filemanager/upload" directory, while the 1.8.4 Windows version does (xampp\testlink\third_party\fckeditor\editor\filemanager\upload).
In the installation instructions it specifically directs the installer to enable the uploader by modifying "FCKeditor/editor/filemanager/upload/php/config.php", however the Linux install doesn't have this directory.
Is it still required to modify "FCKeditor/editor/filemanager/upload/php/config.php" in a Linux install?
In the installation instructions it specifically directs the installer to enable the uploader by modifying "FCKeditor/editor/filemanager/upload/php/config.php", however the Linux install doesn't have this directory.
Is it still required to modify "FCKeditor/editor/filemanager/upload/php/config.php" in a Linux install?