Page 1 of 1

how can be attachment file content can be read as per cheked

Posted: Thu Feb 03, 2011 5:39 pm
by nkrao123
Hi All,

How can be attacment file content of TESTCASES be read as per checkedin format?

Example:
1.chekedin the as script.pl file
2. But read this perl file as xml.rpc.

advanced thanks

Regards
KOTI

Re: how can be attachment file content can be read as per ch

Posted: Mon Feb 07, 2011 12:05 pm
by nkrao123
To rephrase the question-
I have uploaded a .pl file and a .xml file as an attachment through testlink GUI.
When retrieving it, I do it using XML::RPC getattachment.
I do get the title and name of file read correctly ,but how do I read the contents of the file?
As they exist in two different formats how will the call to read the contents for .xml and .pl differ?

Re: how can be attachment file content can be read as per ch

Posted: Tue Feb 08, 2011 7:02 am
by nkrao123
Can the attachment be browsed from an SVN repository directly ?