Send results from PHPUNIT to testlink

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Send results from PHPUNIT to testlink

Postby alvesker » Tue Feb 20, 2018 9:04 am

Hello,

I am using php-selenium to test UI with PHPUNIT. Is there a ways to send results from php to Testlink like for java?

I.e. in java you do smth like

import testlink.api.java.client.TestLinkAPIClient;
import testlink.api.java.client.TestLinkAPIException;
import testlink.api.java.client.TestLinkAPIResults;

then

private static void updateTestLinkResult(String testCase, String exception, String result) throws TestLinkAPIException{
TestLinkAPIClient testlinkAPIClient = new TestLinkAPIClient(DEV_KEY, SERVER_URL);
testlinkAPIClient.reportTestCaseResult(PROJECT_NAME, PLAN_NAME, testCase, BUILD_NAME, exception, result);
}

Can I do such from php?
alvesker
TestLink user
 
Posts: 4
Joined: Tue Feb 06, 2018 7:19 pm

Re: Send results from PHPUNIT to testlink

Postby alvesker » Tue Feb 20, 2018 10:34 am

Nevermind, found it. With a bit of digging)
alvesker
TestLink user
 
Posts: 4
Joined: Tue Feb 06, 2018 7:19 pm


Return to Installation and configuration



Who is online

Users browsing this forum: No registered users and 2 guests

cron