Integration with testlink

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ranjini
Posts: 2
Joined: 30 Dec 2010, 09:16

Integration with testlink

Post by ranjini »

Hi
I've installed mantis and testlink in same system using Xampp, i've followed all the steps given in howto document, but when a test case is failed i'm not able to see that bug management icon in testlink, pls help me with regards to this.
cor3huis
Posts: 21
Joined: 15 Jan 2010, 21:24

Re: Integration with testlink

Post by cor3huis »

You need to have anonymous access enable in mantis the way this is implemented.

BTW , you problem report description and information in this forum post is not extensive enough to expect anyone to help you with your issue in depth. If you wan to have help, give a detailed report and as much info as you can provide. Basically make it very easy for people who want to try and help out...

So for now, unless more info is available I only can help you by letting you know I got it once working with Mantis 1.1.x and Testlink 1.8.x
rorke
Posts: 3
Joined: 11 Aug 2011, 10:26

Re: Integration with testlink

Post by rorke »

Hi, I have a similar problem,
I can't figure why I don't get the icon to connect to mantis in TestLink. Any ideas?
I've tried a variety of logins, and thought I'd finish up on 'administrator' (security isn't an issue at the moment).

I have the following files:
/var/www/custom_config .inc.php

$g_interface_bugs='MANTIS';
==================================
/var/www/cfg/mantis.cfg.php

/** The DB host to use when connecting to the mantis db */
define('BUG_TRACK_DB_HOST', 'localhost');

/** The name of the database that contains the mantis tables */
define('BUG_TRACK_DB_NAME', 'bugtracker');

/** The DB type being used by mantis
values: mysql,mssql,postgres
*/
define('BUG_TRACK_DB_TYPE', 'mysql');

/** The DB password to use for connecting to the mantis db */
define('BUG_TRACK_DB_USER', 'administrator');
define('BUG_TRACK_DB_PASS', 'root');

define('BUG_TRACK_HREF', "http://localhost/mantis/view.php?id=");

/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost/mantis/");
?>
======================================================================
/var/www/mantis/config_inc.php

define('BUG_TRACK_HREF', "http://localhost/mantis/view.php?id=");

/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost/mantis/");


# --- Anonymous Access / Signup ---
$g_allow_signup = ON;
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'administrator';
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Integration with testlink

Post by cas »

This solution also uses hard-coded table names. So if you installed mantis with a different prefix than 'mantis', this will fail..........
padmalochan

Re: Integration with testlink

Post by padmalochan »

define('BUG_TRACK_DB_HOST', 'localhost');

give the port number used by you for accessing the database like define('BUG_TRACK_DB_HOST', 'localhost:5433');
5433 is an example it might be different in ur case please check and confirm.
Post Reply