您的位置:軟件測(cè)試 > 開源軟件測(cè)試 > 開源測(cè)試管理工具 > Testlink
TestLink簡(jiǎn)明配置手冊(cè)
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2014/1/23 10:48:52 ] 推薦標(biāo)簽:TestLink 配置

配置文件概述
     所有的配置參數(shù)都在 config.inc.php 文件以及config.inc.php 所包含的文件中. 以下是該版本配置文件的列表
Testlink配置文件config.inc.php(在Testlink安裝目錄下),找到下面的位置。

    config.inc.php 主配置文件, 它包含其他的配置文件. 該文件里列出了配置參數(shù)的默認(rèn)值.
    config_db.inc.php 包含訪問(wèn)數(shù)據(jù)庫(kù)所需要的參數(shù). 該文件在TestLink被安裝或者升級(jí)時(shí)自動(dòng)創(chuàng)建. 一般情況下, 我們不需要手動(dòng)修改它.
    custom_config.inc.php 如果想修改config.inc.php文件中的默認(rèn)值, 可以在該文件中設(shè)置. 即該文件中設(shè)置的值會(huì)覆蓋config.inc.php中的值. 這樣做的好處是你的配置信息可以直接復(fù)制到升級(jí)之后的版本中.
    /cfg/<bug_tracker>.cfg.php 設(shè)置缺陷跟蹤工具的數(shù)據(jù)庫(kù)訪問(wèn)參數(shù)
    /cfg/const.inc.php 定義常量以及不允許修改的變量
    /gui/templates/input_dimensions.conf 代替HTML輸入字段屬性(如 maxlength 和 size等) 的硬編碼,
    /cfg/tl_fckeditor_config.js 設(shè)置fckeditor組建的配置

打開Testlink配置文件config.inc.php或custom_config.inc.php(在Testlink安裝目錄下),找到下面的位置。

(紅色文字:表示需要修改的方。

藍(lán)色文字:對(duì)需要修改的地方的解釋說(shuō)明。)

// ----------------------------------------------------------------------------
/** [SMTP] */

// Developer Note:
// these config variable names has been choosed to maintain compatibility
// with code taken from Mantis.
//
// SMTP server Configuration ("localhost" is enough in the most cases)
$g_smtp_host        = 'mailserver'; # SMTP server MUST BE configured(SMTP服務(wù)器地址,必須配置)

# Configure using custom_config.inc.php
$g_tl_admin_email     ='123@123.com'; # for problem/error notification(管理員賬戶的郵件地址,主要接收發(fā)生的一些問(wèn)題,或錯(cuò)誤,等信息)
$g_from_email         ='123@123.com'; # email sender(發(fā)送郵件的郵件地址)
$g_return_path_email ='123@123.com';(具體用處未知,和sender保持一致即可)

# Urgent = 1, Not Urgent = 5, Disable = 0
$g_mail_priority =5;  (發(fā)送郵件的優(yōu)先級(jí),設(shè)為5)

# Taken from mantis for phpmailer config
define ("SMTP_SEND",2);
$g_phpMailer_method = SMTP_SEND;

// Configure only if SMTP server requires authentication
$g_smtp_username    = '123'; # user(用于發(fā)送郵件的賬戶的用戶名)
$g_smtp_password    = '123456'; # password(用于發(fā)送郵件的賬戶的密碼)

Testlink漢化

在config.inc.php或custom_config.inc.php文件中修改如下

$tlCfg->default_language = 'zh_CN';

$tlCfg->config_check_warning_mode = 'SILENT';

軟件測(cè)試工具 | 聯(lián)系我們 | 投訴建議 | 誠(chéng)聘英才 | 申請(qǐng)使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd