Testlink1.7R3完整安装方法2

上一篇 / 下一篇  2007-09-05 18:21:31 / 个人分类:测试工具学习

5.优化配置

通过以上步骤,可以成功进入testlink页面,首先需要创建一个产品,才可以进入testlink主页。进入testlink主页后,页面为英文,需要在菜单栏中的Personal中更改admin默认的语言,选择“Chinese silmpified

此时,testlink界面部分内容依旧为英文,原因是汉化文件不完整,需要重新汉化,

汉化方法:

下载utf8版本的strings.txt替换testlink\locale\zh_CN目录下的strings.txt即可完成汉化

下载网址:http://testlink.5d6d.com/thread-1-1-1.html

此时,testlink里面日期会有乱码,需要修改testlinkcfg文件夹下的testlinkconst.inc.php文件,修改方法如下:

打开testlinkconst.inc.php文件

查找'zh_CN' => "%Y锟斤拷%m锟斤拷%d锟斤拷%H%M锟斤拷%S锟斤拷"

修改为:'zh_CN' => "%Y-%m-%d %H:%M:%S"

6.和bugzilla集成

前提条件:

1.    Bugzilla安装完成

2.    如果是bugzillatestlink不在同一服务器,需要远程访问bugzilla数据库的帐户

集成配置:

1.   打开testlinkconfig.inc.php文件

查找$g_interface_bugs='NO';

修改为$g_interface_bugs='BUGZILLA';

注意:一定要大写BUGZILL

2.   打开testlinkcfg文件夹下的bugzilla.cfg.php文件夹,做如下修改

 

//Set the bug tracking system Interface

/** The DB host to use when connecting to the Bugzilla db */

define('BUG_TRACK_DB_HOST', '192.168.0.77');

说明:安装bugzilla的服务器地址

/** The name of the database that contains the Bugzilla tables */

define('BUG_TRACK_DB_NAME', 'bug');

说明:bugzilla的数据库名称

/** The DB type being used by Bugzilla */

define('BUG_TRACK_DB_USER', 'mysql');

说明:访问bugzilla数据库的帐户

/** The DB password to use for connecting to the Bugzilla db */

define('BUG_TRACK_DB_PASS', '123456');

说明:访问bugzilla数据库的密码

/** The DB type to use for connecting to the bugtracking db */

define('BUG_TRACK_DB_TYPE', 'mysql');

/** link of the web server */

define('BUG_TRACK_HREF', "http://192.168.0.77/cgi-bin/index.cgi/show_bug.cgi?id=");

说明:bugzilla访问地址+/show_bug.cgi?id=

/** link to the bugtracking system, for entering new bugs */

define('BUG_TRACK_ENTER_BUG_HREF',"http://192.168.0.77/cgi-bin/index.cgi/");

说明:bugzilla访问地址

?>

注意:以上标记为“说明”的是我自己增加的说明性文字。

修改完成后,如果bugzilla可以访问到,则在testlink下,执行测试的时候,每个执行结果记录后,都会有一个小虫子标记,如果某个测试用例执行失败,在bugzilla提交相关bug后,在testlink中点击该小虫子标记,可以填写bugzilla中的bug号。然后,会在执行结果中显示该bug号,点击bug号,则可以直接链接到bugzilla中提交的bug

注意:testlink使用方法不在这里说明。


TAG: testlink 测试工具 测试用例 测试工具学习

引用 删除 Scorpio   /   2007-10-19 17:02:39
非常有用
最近正好在考虑怎样引入测试管理工具
谢谢!!
 

评分:0

我来说两句

Open Toolbar