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

Discuss test processes, standards, documentation, teams, criteria, test environments, etc.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
nkrao123
TestLink user
Posts: 6
Joined: Thu Feb 03, 2011 4:58 pm

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

Post 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
nkrao123
TestLink user
Posts: 6
Joined: Thu Feb 03, 2011 4:58 pm

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

Post 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?
nkrao123
TestLink user
Posts: 6
Joined: Thu Feb 03, 2011 4:58 pm

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

Post by nkrao123 »

Can the attachment be browsed from an SVN repository directly ?
Post Reply