installation and configuration of Tesklink
Install WAMP5:
WAMP5 is Apache, MySQL, PHP integrated environment, after installation can start 3. To modify the Apache port:
When IIS starts at the same time as Apache, the default of 80 for the port number causes the service that started later to fail. Therefore, you need to modify one of the port numbers. In this modified Apache port number, in the Apache installation directory under the httpd.conf of Conf, look for listen 80, modify the port number you want: Listen 81. To modify MySQL permissions:
Modify root permissions;
After the modification, you need to update the PHP profile conf.inc.php content: Modify the password for the root password to be set. Install Testlink:
Testlink is a web-based, open source test management tool that can integrate with Bugzilla,jira and other defect systems.
Unzip the Testlink and copy it to the Apps folder in the WAMP5 installation directory and copy the * under the alias folder under the directory. conf file, name modified to testlink.conf, use EditPlus Open, modify Testlink path and name, need to modify 4 lines, such as:
Alias/testlinkmanager "d:/wamp/apps/testlink/"
<directory "d:/wamp/apps/testlink/" >
Options Indexes followsymlinks MultiViews
AllowOverride All
Order Deny,allow
# Deny from all
# Allow from 127.0.0.1
Allow from all
</Directory>
#号注释的2句及后一句是修改的内容, otherwise other users will not be able to access testlink.
After the above modifications, restart the wampserver.
Open http://localhost:81 in the browser, new Installation Testlink, click on the alias under the Testlink, and then the new installation, as prompted step-by-step completion can be. Testlink of the Chinese:
1 Open Testlink under the CFG folder under the config.inc.php file
Find $g_default_language = ' EN_GB ';
Modified to $g _default_language = ' ZH_CN ';
You can solve the problem of the localization of the login interface.
2 after login, change the admin default language in the personal in the menu bar and select "Chinese silmpified".
3 At this time, the interface will be some garbled, because the Chinese is not complete. Workaround: Replace the strings.txt in the TESTLINK/LOCALE/ZH_CN directory
4 so far, the date will have garbled, need to modify the Testlink under the CFG folder under the const.inc.php file, modify the following methods:
Open testlinkconst.inc.php File
Find ' ZH_CN '. There are two places in the time format, inside the box, respectively, to read:
' Zh_cn ' => '%y-%m-%d '
' Zh_cn ' => "%y-%m-%d%h:%m:%s"
Note: Save as ANSI format. integration of Testlink and Jira
Testlink is a php,mysql based system. You can integrate with Jira by modifying the configuration of Testlink.
Mainly involves the modification of two documents:/cfg/jira.cfg.php and config.inc.php.
1. Modify <testlink Installation directory>/config.inc.php configuration
/** [Bug Tracking Systems] * *
Set $g_interface_bugs= ' JIRA ';
2. Modify < Testlink installation directory>/cfg/<bug_tracking_system>.cfg.php, if integrated with Jira, modify jira.cfg.php:
//set the bug tracking system Interface to JIRA 3.1.1
sets JIRA's IP of the database (preferably mysql,mssql not connected)
Define (' Bug_ Track_db_host ', ' <to be configured> ');
Set Jira database name
define (' Bug_track_db_name ', ' <to be configured> ');
Login to the Jira database username
define (' Bug_track_db_user ', ' <to be configured> ');
Login to the Jira database password
define (' Bug_track_db_pass ', ' <to be configured> ');
The hyperlink that displays the BUG
define (' Bug_track_href ', ' <to be configured> ');
Set Database type (MYSQL,MSQL, etc.)
define (' Bug_track_db_type ', ' MySQL ');
Add a BUG to the hyperlink
define (' Bug_track_enter_bug_href ', "<to be configured>");