Does anyone have perl example for using the API to access TestLink data?
My test automation framework is done in perl and I'm looking for a way to integrate my automation framework with TestLink. I'd like to see an example for accessing TL data using perl.
Thanks,
Eli
Perl API client sample
Moderators: Amaradana, TurboPT, TL Developers
I am now using RPC::XML::Client (debian/ ubunt package librpc-xml-perl)
I couldn't get it to work with tl 1.8.5
Code: Select all
#!/usr/bin/perl
use RPC::XML::Client;
my $cli = RPC::XML::Client->new('http://testlink/lib/api/xmlrpc.php');
my $resp = $cli->send_request('system.listMethods');
print ref $resp ? join("\n", @{$resp->value}) : "Error: $resp";
Re: Perl API client sample
I created three sample files - Is there a way of uploading them to the board?
They are:
createBuild.pl
getTestCasesIDByName.pl
getTestPlanByName.pl
reportTCResult.pl
They are:
createBuild.pl
getTestCasesIDByName.pl
getTestPlanByName.pl
reportTCResult.pl
Re: Perl API client sample
this samples will be added to next TL distribution
Re: Perl API client sample
Is there a way I could get these examples?
testlink19 has two perl examples - but does not seem to be as straightforward as listed above.
thanks
Stephen.
testlink19 has two perl examples - but does not seem to be as straightforward as listed above.
thanks
Stephen.
Re: Perl API client sample
do search on mantis site, removing filter that hide closed issues, to see if user have attached code