最近由于新项目需要,建立一个TestLink来管理测试。主要用来对测试用例的管理,多人协作。TestLink的安装和配置都比较简单,但是也有一些小坑需要注意。

  • 官网下载XAMPP。这是TestLink需要的运行环境。如果机器没有安装JDK,需要先安装最新JDK。XAMPP建议不要选择最新的版本,会出现后面安装中MySQL不兼容的问题(应该是TestLink的PHP和XAMPP里面的MYSQL不兼容。选择5.6的最近版本比较好。Download XAMPP, version 5.6.XXX. Install

    URL: https://www.apachefriends.org/zh_cn/index.html

 TestLink 使用XAMPP安装

 

 

 

  • 配置XAMPP。Configure XAMPP for Testlink.

    配置Apache的端口,选一个不常用的端口。Config Apache.Config->httpd.conf.

TestLink 使用XAMPP安装

 

 

 

    Listen 80 => Listen 8083

 TestLink 使用XAMPP安装

 

 

 

  ServerName localhost:80 => ServerName localhost:8083 

  Save and Close.

 

  • 把MYSQL加入到系统环境变量里。Add XAMPP mysql to system environment variables.

    The bin path, add it to environment variables.

TestLink 使用XAMPP安装

 

 

 

  • 启动 Apache, MySQL. Start Apache, MySQL, Tomcat.

 TestLink 使用XAMPP安装

 

 

 

  • 下载安装TestLink. 直接解压到XAMPP安装目录的htdocs下面。改下testlink名字,去掉版本信息。 Download TestLink and exact to xampp subfolder htdocs.

    Download URL: http://www.testlink.org/

 

 TestLink 使用XAMPP安装

 

 

 

 

  • 配置MySQL, 为testlink创建需要的数据库。Configure MYSQL and create testlink database.
    • 建立ROOT用户。Configure root user in Mysql.

      CMD: change directory to bin folder.

      Run command:

 TestLink 使用XAMPP安装

 

 

 

    •  Set password for root user in phpMyAdmin.

       D:\xampp\phpMyAdmin

        File: config.inc.php

 TestLink 使用XAMPP安装

 

 

 

 

 

        Edit.

        Set: $cfg['Servers'][$i]['auth_type'] = 'cookie';

        $cfg['Servers'][$i]['password'] = 'password123';

 TestLink 使用XAMPP安装

 

 

 

 TestLink 使用XAMPP安装

 

 

  • Create testlink database.

Shell.

 TestLink 使用XAMPP安装

 

 

Command

mysql -u root

Use mysql;

Create database testlink;

Use testlink

 TestLink 使用XAMPP安装

 

 

  1. Check from phpMyAdmin.

 TestLink 使用XAMPP安装

 

 

  1. Add user for testlink DB.

Privileges->Add user account. Go.

 TestLink 使用XAMPP安装

 

 

  1. Try installation. Browser visit: http://localhost:8083/testlink

 TestLink 使用XAMPP安装

 

 

 

  1. Agree continue.

 TestLink 使用XAMPP安装

 

 

  1. Several issues.

 TestLink 使用XAMPP安装

 

 

  1. Update configure file.

D:\xampp\php\php.ini

Maximum Session execution Time:

 TestLink 使用XAMPP安装

 

 

LDAP:

;extension=php_ldap.dll

Remove”;” on the line.

 TestLink 使用XAMPP安装

 

 

 

  1. Ignore the error for the idle time and the Postgres Database error, because here I use database Mysql not Postgres DB.
  2. Restart services and close browser and try installation again. OK, continue.

 TestLink 使用XAMPP安装

 

 

  1. Database setting.

 TestLink 使用XAMPP安装

 

 

  1. Process TestLink Setups. Installation successfully.

 TestLink 使用XAMPP安装

 

 

  1. Great!!

 TestLink 使用XAMPP安装

 

相关文章:

  • 2021-05-23
  • 2021-04-21
  • 2021-12-17
  • 2021-06-14
  • 2021-06-13
  • 2021-09-15
  • 2022-01-13
  • 2021-12-17
猜你喜欢
  • 2021-04-25
  • 2021-11-24
  • 2022-12-23
  • 2022-01-01
  • 2021-12-21
  • 2021-11-19
相关资源
相似解决方案