Testlink Version 1.9
Total Page:16
File Type:pdf, Size:1020Kb
Installation & Configuration Manual TestLink version 1.9 Version: 2.15 Status: Updated © 2004 - 2010 TestLink Community Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. The license is available in "GNU Free Documentation License" homepage. Revision History # Description Date Author 1.0 Initial creation of the document in DocXML 2005/03/12 A. Morsing 1.1 Corrected title, updated structure and added new sections. 2005/04/12 M. Havlat 1.2 Added some words for MySQL 4.1, UTF8 support 2005/06/27 A. Morsing 1.3 Updated automatic installation part 2005/09/12 F. Mancardi 1.4 Updated for TL 1.6.; added configuration parameters; 2005/09/13 M. Havlat restructured (created pre-installation steps section); corrected layout; added phpMyAdmin steps description 2.0 Converted to OO2 format; added DB Charset update 2005/12/04 M. Havlat explanation from Kevin 2.1 Corrected layout for export to HTML and PDF 2005/12/11 M. Havlat 2.2 Some small changes 2005/12/17 A. Morsing 2.3 Minor layout and grammar update 2006/02/14 M. Havlat 2.4 Updated for TL 1.7 2006/11/17 M. Havlát 2.5 Updated for TL 1.7; restructured; merged BTS case; layout 2007/09/13 M. Havlát update (prepare for 1,7,0 release) 2.6 Added several new parameters for 1.7, updated styles, 2008/01/02 M. Havlát configuration divided into logical chapters 2.7 Fixed: 0001347 , 0001284 , 0001331 2008/02/02 M. Havlát New sections: Add a new type of Test results on execution page (drafted by Francisco), Define HTML text editor 2.8 Updated for TL 1.8 (include all new and missing features and 2008/06/06 M. Havlát refactorization of configuration files). 2.9 Language correction 2008/07/04 W. Pollans 2.10 Layout update, minor changes 2008/07/07 M. Havlát 2.11 Update configuration to 1.8 (RC3) 01/15/09 M. Havlát 2.12 Update configuration to 1.8 RC5, 1.8.0 03/15/09 M. Havlát 2.13 Updated chapter “Upgrade” 03/25/09 M. Havlát 2.14 Update according to issues (TL 1.8.2) 04/30/09 M. Havlát 2.15 TestLink 1.9 related changes 23/02/10 M. Havlát Added top-menu cfg 04/03/10 - 2 - 1. Introduction TestLink is popular open source web-based Test management tool. 1.1. Who should read this manual This manual is targeted for the person responsible for evaluating, installing and maintenance of TestLink in a company. Typically we refer to this person as the TestLink administrator. 1.2. Scope This document serves as a reference and knowledge base for the installation and configuration. The installation process supposes using the in-built Web-installer (a step-by- step installation wizard). The Web-installer is default and recommended method of installing TestLink. TestLink administrators apprise the second part describes rich configuration abilities. Some features are hidden in default configuration because of simplicity of basic testing process. The latest documentation is available on TestLink homepage. You can also ask for help to solve your problems in an appropriate section of TestLink forum. Summary of installation process: 1. Install background services 2. Transfer and uncompress files into web directory 3. Generate database tables and add data (create default or transfer from previous DB) 4. Edit configuration files 5. PHP File extensions 6. Login TestLink includes installation scripts that helps you easily set-up all required configuration and database structure. 1.3. TestLink License TestLink is released under the terms of GNU General Public License (GPL) version 2. TestLink is free to use and modify. It is free to redistribute as long as you abide by the distribution terms of the GPL. Table of Contents 1. Introduction.............................................................................................................3 1.1. Who should read this manual..............................................................................3 - 3 - 1.2. Scope...............................................................................................................3 1.3. TestLink License................................................................................................3 2. System Requirements...............................................................................................6 2.1. Client side.........................................................................................................6 2.2. Server side.......................................................................................................6 2.2.1. μsoft SQL server doesn't support UTF-8.........................................................7 3. Installation..............................................................................................................9 3.1. Pre-installation steps..........................................................................................9 3.2. AUTOMATIC Installation....................................................................................10 3.3. MANUAL Installation.........................................................................................12 3.4. MS-SQL Database Troubleshooting.....................................................................13 3.5. Post installation steps.......................................................................................14 3.5.1. Configure TestLink.....................................................................................14 3.5.2. Back-up TestLink installation......................................................................14 3.5.3. Database back-up.....................................................................................15 3.5.4. Security...................................................................................................16 4. Upgrading..............................................................................................................17 4.1.1. Code upgrade only....................................................................................17 4.1.2. Automatic upgrading with DB schema changes..............................................17 4.1.3. Manual upgrading......................................................................................18 4.2. Backward compatibility.....................................................................................19 4.2.1. Database schema changes..........................................................................19 4.2.2. Changed Terminology................................................................................19 4.2.3. Obsolete features......................................................................................19 4.2.4. Test Plan relation to Test Project (upgrade from 1.5 and older).......................20 4.2.5. Latin to UTF-8 conversion (upgrade from 1.5 and older).................................20 5. Configuration.........................................................................................................23 5.1. Configuration Files overview..............................................................................23 5.1.1. Use custom_config.inc.php for your changes!................................................23 5.2. Logging..........................................................................................................24 5.2.1. Event viever ............................................................................................25 5.3. Configuration of Bug Tracker connector..............................................................25 5.3.1. Connectors to database of tracker...............................................................25 5.3.2. TRAC configuration....................................................................................26 5.3.3. BTS character set......................................................................................26 5.4. Generated documents.......................................................................................26 5.5. Send E-MAIL...................................................................................................27 5.6. User authentication..........................................................................................27 5.6.1. External LDAP authentication......................................................................28 5.6.2. Login related configuration.........................................................................28 5.7. GUI Customization...........................................................................................29 5.7.1. Tree menu................................................................................................29 5.7.2. GUI Layout...............................................................................................30 5.7.3. Text area editor........................................................................................32 5.7.4. CKEditor custom configuration....................................................................33 5.7.5. Top menu configuration.............................................................................34 5.7.6. Javascript.................................................................................................35 5.7.7. Using Your own Smarty templates (GUI definition)........................................35 5.8. Test execution settings.....................................................................................36 5.8.1. Execution history.......................................................................................37