How to automate the testing process using Testlink management software

Source: Internet
Author: User
Keywords Management software Testlink testing process
Tags apache apache2 application application server apt case management configuration custom

This article is used as the first part of the Testlink management software testing process series, which mainly describes how to use the tool to manage the software functional testing process. First introduce the role of Testlink, installation and configuration, and then demonstrate how to use the Testlink management software testing process. Finally, the reader is presented with the XML-RPC interface features provided by Testlink, and demonstrates how to use the Java language to customize development of Testlink by invoking the XML-RPC interface.

The second part of this series will explain how to automate the testing process using Testlink management software.

Testlink is an open source web-based test management system that covers the complete testing process and provides functions such as test requirements management, test case management, test Plan management, test execution, and results report management. Through the integrated configuration, Testlink can work in conjunction with the mainstream defect management system. The tool also provides an XML-RPC programming interface for custom development. The main features are as follows:

Test requirements Management – for collecting and defining test requirements. Provides versioning mechanisms to resolve problems that cannot be traced to changes in requirements. Test Case management – for defining test case designs, use cases for different modules can be maintained in separate test suite collections. Test Plan Management – you can specify the platform information that the tested software is running on and the test build information for the software being tested for the test plan. You can assign test case execution tasks to different test engineers. Test execution and Results report management – Complete the test and fill in the test result information. Support upload result file, attach defect number information. The reporting system provides test charts and execution matrix information. Good extensibility features – allows custom fields to be customized, allowing the invocation of XML-RPC API interfaces provided by the management system for custom development.

Testlink Installation and Configuration

The latest version of Testlink is 1.9.5 and it is recommended to use a stable version of 1.9.3. This section describes how to build a testlink 1.9.3 test Case Management system in an Ubuntu environment. The Ubuntu version used in this article is a 64-bit server version of the Ubuntu 12.04,ubuntu Server LAN Internal IP address is 172.16 27.225, the server is connected to the Internet, you can use the APT command to install the software package online. The following describes how to install the Apache application Server, the MySQL database, the PHP programming language pack, and then details how to install and configure Testlink.

Install Apache HTTP Server

Login to Ubuntu server, enter command in the terminal sudo apt install apache2 for installation. Verify that the Apache installation was successful by accessing http://172.16.27.225. Apache installed on Ubuntu, its default root directory is/var/www, the configuration file location is/etc/apache2/apache2.conf. Other configuration files are also stored under the directory/etc/apache2.

Edit the apache2.conf file using the VI command and add the following:

Listing 1. Edit Apache2.conf Fragment

AddType application/x-httpd-php. php. htm. htmladddefaultcharset utf-8servername 127.0.0.1

Installing the MySQL Database

Use the command sudo apt install mysql-server to install the MySQL database in the terminal, prompting you to set the password for root superuser during the installation process.

In the Ubuntu environment, you can use the following command to stop, start MySQL or Apache application server processes, and view the startup status of their processes:

Listing 2. Common commands for Apache and MySQL

Sudo/etc/init.d/apache2 Stop or service apache2 stopsudo/etc/init.d/apache2 start or service apache2 startsudo/etc/init.d/ Apache2 status or service apache2 statussudo/etc/init.d/mysql stop or service MySQL stopsudo/etc/init.d/mysql start or service MySQL startsudo/etc/init.d/mysql status or service MySQL status

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.