Open In App

How to Install TestLink in Windows?

Last Updated : 16 Apr, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Testlink is a web-based software that is used for test management which helps to check for QA or quality assurance, the testlink software is developed by the team. it is a software that offers various features such as test cases, test plans, and test projects and also offers reports and statistics for the quality assurance checking of software.

TestLink is a test management tool that offers manual testing to its users, the software itself is free and comes with many features such as manual test cases, defining test parameters, test projects, and viewing statistics and analysis of the tests for the project. by understanding how to install this tool we can understand and create useful test cases using TestLink.

System Requirements

We must meet some system requirements to install the testing successfully in the Windows system. As we know testing is software that is based on a web application. Hence, it requires a local server to be installed so that the user can interact with the testing software using that particular server, apart from a local server some libraries and software are required for the installation of test links which are mentioned below:

  • Web Server: Testlink works on Apache server version 2.2.2.1 but it can also be used with other latest software of web server, but it only works with. PHP file so configure the webserver to make sure it supports it. PHP extension only.
  • PHP − The web server should support PHP by default, any version of PHP above 5.6 will do the work.
  • Required PHP Extensions: Some PHP extensions are required for the RDMS which are: Mysqli, pgsql, oci8, Mbstring, etc.
  • Database: Testlink also requires a database so that it can store the data present, for this MySQL can be used.
  • FileZilla FTP Server − FileZilla FTP Server is optional but can be installed separately for use in XAMPP.

Once the system requirements are understood we will have to install these system requirements so that testing can run without any interruptions. for installing the system requirements we will need to follow the steps mentioned in the next heading.

Follow the steps mentioned below step by step to install all the required system requirements for installing and using Testlink in Windows:

Step 1: Download XAMPP

To install TestLink we have to download the XAMPP software so that we can launch a local server, to download the XAMPP software, go to the link https://www.apachefriends.org/index.html and click on the Windows option to download XAMPP for Windows:

Testlink-XAMPP

Download XAMPP

Step 2: Installing XAMPP

The next step is to run the file that we have downloaded in the step above and install it, just double-click on the file and a window will pop up for installing the XAMPP software, simply click on next and install:

Install-XAMPP

Installing XAMPP

Step 3: Select Components which you want to Install.

Finally, once click on the next option it will show the list of components we want to install within the system, here select all the components as all are required for the Testlink software and click on next.

select-component-in-XAMPP

Select Components

Step 4: Start Apache and MySQL Server.

Once the installation is completed, simply open the XAMPP control panel by going to the start menu and opening it, after enabling the Apache and MySQL services by clicking on the “start” button:

Start-Apache-and-MySQL

Start Apache and MySQL Server

Once the system requirements are completed and components are installed successfully we can begin the installation for Testlink as well.

Now that the system requirements are successfully installed we can begin installing the test link in the Windows system, The following are the steps required for installing the TestLink software in Windows:

Step 5: Download TestLink.

Download the testlink software for installation by going to the following link: https://sourceforge.net/projects/testlink/ and download testlink from the website for the installation.

Step 6: Copy and Paste TestLink File.

Once the file is downloaded copy it and go to the C:/Xampp folder where the XAMPP is installed by default, here a folder named htdocs is located, go to the folder paste the testlink file, and extract it.

Step 7: Edit config.inc.php File.

The next step is to edit the config.inc.php file which is located inside the test link folder that we have just extracted, so open the folder and open the particular file named “config.inc.php

edit-configincphp-file

Edit config.inc.php File

Now we need to make the following changes to it:

update path available as “$tlCfg->log_path” to the following −

$tlCfg->log_path = ‘C:/xampp/htdocs/testlink/logs/’;

This is also shown in the image below:

log-path-testlink

log path updated

and “$g_repositoryPath” to the following path:

$g_repositoryPath = ‘C:/xampp/htdocs/testlink/upload area/’;

This is also shown in the image below:

repository-path

repository path updated

Step 8: Open TestLink in Localhost:

Once the steps are completed, go to http://localhost/Testlink and click on the new installation button when it opens:

new-installation

Open TestLink in Localhost

Step 9: Accept Terms and Conditions and Continue:

The next step is to click on the accept terms and conditions checkbox and then click on the continue button.

accept-terms-and-conditions

Accept the Terms and Conditions and Continue.

Step 10: Automatic Installation Checks.

After clicking on the continue button, the system will perform its checks for the installation to see if the test can be installed or not, after seeing this option click on the continue button again:

automatic-performance-checks

Automatic Installation Checks.

Step 11: Create DB User and Password:

The next step is to create a DB user and also create a password for the user, leaving everything else as the default unless any change is required.

Create-DB-user-and-password

Create DB User and Password.

Step 12: TestLink Installed Successfully:

Once the process Testlink Setup button is clicked it will set up the test link in the Windows system and install the test link successfully, if it redirects to the login page similar to the one below then we can say that testing is successfully installed in Windows:

testlink-installed-successfully

TestLink Installed Successfully.

Conclusion

TestLink is a test management tool that is based on web architecture and its open-source software, it allows users to easily run test cases and test projects with the help of user management. it is important to understand how TestLink is installed in Windows so follow the article step by step to install TestLink in Windows.

What is the usage of TestLink?

Ans: TestLink is used for the purpose of running tests as its a test management tool which is based on web architecture and its open source software, it allows the users to run test cases and test projects.

How is TestLink installed in Windows?

Ans: To install TestLink in windows we first need to install a software that enables local server such as XAMPP, then we can paste the testlink zip file inside HTDOCS of XAMPP folder to begin installing TestLink in windows.

What are the benefits of using TestLink?

Ans: There are many benefits of using TestLink for the purpose of testing web based applications and software such as manual test cases, defining test parameters, test projects, and viewing statistics and analysis of the tests etc.



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments