org.unitils.testlink
Class TestLinkConnectorFactory

java.lang.Object
  extended by org.unitils.testlink.TestLinkConnectorFactory

public class TestLinkConnectorFactory
extends Object

Make sure that in the config.inc.php of your testlink the following settings are correct :

 $tlCfg->api->enabled = TRUE;
 
 $tlCfg->exec_cfg->enable_test_automation = ENABLED;
 

Since:
3.3.1
Author:
Jeroen Horemans, Thomas De Rycke, Jef Verelst

Field Summary
 String projectName
           
 String url
           
protected static String XML_RPC
          The location of the XML-RPC interface in versions from 1.9.7 onwards.
 
Constructor Summary
TestLinkConnectorFactory(String url, String devkey, String projectName, String username, String xmlRpc)
           
 
Method Summary
 TestLinkConnector create(String testPlanId, Boolean overwrite, String buildName, Boolean createPlanIfNeeded, Boolean createTestIfNeeded, Boolean assignTestToPlan)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_RPC

protected static final String XML_RPC
The location of the XML-RPC interface in versions from 1.9.7 onwards. In version 1.9.5, we used "/lib/api/xmlrpc.php", but apparently this no longer works. This location however, also works in 1.9.5

See Also:
Constant Field Values

url

public String url

projectName

public String projectName
Constructor Detail

TestLinkConnectorFactory

public TestLinkConnectorFactory(String url,
                                String devkey,
                                String projectName,
                                String username,
                                String xmlRpc)
Method Detail

create

public TestLinkConnector create(String testPlanId,
                                Boolean overwrite,
                                String buildName,
                                Boolean createPlanIfNeeded,
                                Boolean createTestIfNeeded,
                                Boolean assignTestToPlan)


Copyright © 2012-2014. All Rights Reserved.