Você está na página 1de 19


2 DE ABRIL DE 2019

Tutorial do TestLink – Documentação de


introdução
O gerenciamento de teste é parte integrante do ciclo de vida do teste de software.
Para executar as funções com eficiência, muitas organizações usam ferramentas
comerciais e de código aberto para atender às suas necessidades.

Como usar o TestLink


Neste tutorial do TestLink para iniciantes, aprenderemos como configurar e começar a usar
facilmente o TestLink, uma ferramenta de gerenciamento de teste de código aberto que fornece
recursos básicos também encontrados em ferramentas comerciais.

O que é TestLink?
TestLink is an open source tool used to track and maintain various Software Testing Life Cycle
activities. As we know, it is critical for organizations to deliver quality projects on time to remain
competitive. With the same concept in mind, TestLink is based on the centralized management of
testing activities which includes project management, issues tracking, and any other test
management activity that allows stakeholders to synchronize with test specifications and
requirement specification of any project. TestLink operates under General Public License and has
been developed by TeamTest. It supports all OS platforms which include Windows, Linux, and MAC,
and is compatible with a range of browsers such as IE, Chrome, Mozilla Firefox, and Safari.

TestLink supports multiple user setups by assigning different roles to maintain hierarchy. Similarly,
multiple
Aperte projects
enter and test suites can be created, followed by multiple test cases without limitation.
para pesquisar
One important aspect of this tool is report generation which is available in various formats. A simple
configuration is also provided if you wish to integrate TestLink with other defect management tools
such as JIRA, Mantis, Bugzilla, and VersionOne.

TestLink Tutorial – Test Management Tool


TestLink is useful for various activities in the testing life cycle where every stakeholder can use it
according to their assigned role in the system. Test managers, business analysts, project managers
and testers can each use TestLink within their own areas of responsibility. Let’s learn how to set up
and then use TestLink.

TestLink Installation and Setup


O TestLink é baseado no conceito cliente/servidor, o que significa que, uma vez instalada a
ferramenta no servidor central, o usuário pode interagir com ela diretamente por meio de uma URL
específica de qualquer navegador. Certifique-se de que o seguinte foi instalado em seu sistema antes
de continuar usando o TestLink:

Servidor web Apache: Apache para Windows pode ser baixado e instalado aqui . Uma vez instalado,
certifique-se de clicar no botão Iniciar no painel de controle do XAMPP para Apache e MySQL,
conforme mostrado na captura de tela abaixo.

Observação: para verificar se todos os pré-requisitos foram instalados e executados corretamente, use
Aperte enterURL
a seguinte paranopesquisar
navegador para verificar: https://localhost.com/. A seguinte tela aparecerá.

Iniciando o TestLink
Depois que o XAMPP estiver pronto e em execução, precisamos instalar e configurar o TestLink.

Etapa 1: Baixe um arquivo de configuração do SourceForge . Um arquivo zip será baixado para o seu
sistema.

Passo 2: Descompacte o arquivo baixado e renomeie-o como TestLink.

Etapa 3: Agora, coloque a pasta TestLink na pasta htdocs, que pode ser encontrada no XAMPP, onde
você o encontrará instalado.

Etapa 4: Abra a pasta TestLink, localize e abra o arquivo chamado config.inc.php (você pode abrir o
arquivo com qualquer editor de texto)

Passo 5: Atualize os seguintes caminhos no arquivo:

Para verificar as alterações, use a URL: http://localhost/Testlink/

Etapa 6: Clique em Nova instalação, conforme mostrado na captura de tela abaixo:


Aperte enter para pesquisar

Passo 7: Aceite os Termos e Condições e clique no botão Continuar. Uma nova tela aparecerá e você
terá que clicar em Continuar novamente. Veja a captura de tela abaixo.

Passo 8: Nos campos mostrados, defina suas credenciais para Database Admin e Password. Da
mesma forma, é necessário um login/senha do TestLink seguido de um clique no botão no final. O
login padrão para o nome do banco de dados é root.

Aperte enter para pesquisar


Após a instalação bem-sucedida, a seguinte tela será exibida.

Aperte enter para pesquisar


Com a instalação concluída, você pode começar a usar o TestLink navegando na URL
http://localhost/testlink/ e usando 'admin' como credencial padrão para nome de usuário e senha.

Aperte enter para pesquisar


Configurando um projeto 
Uma vez que um novo projeto tenha sido criado para uma finalidade específica, ele terá planos de
teste, suítes de teste e casos de teste. Para criar um novo projeto, é necessário acesso de
administrador. Ao fazer login pela primeira vez como administrador, você terá desembarcado na
página de criação do projeto.

Etapa(s): Você verá um formulário conforme mostrado na captura de tela abaixo. Preencha-o e clique
no botão Criar para prosseguir.

Forneça um nome exclusivo para o projeto


O prefixo será usado para a identificação dos casos de teste
Marque as caixas de seleção de acordo com os requisitos do projeto

Criando um plano de teste


Como sabemos, o planejamento de testes é importante para qualquer projeto. Ele precisa conter
todas as atividades relacionadas ao teste, como escopo, marcos, suítes de teste e casos de teste.
Antes de criar um plano de teste, precisamos considerar as seguintes etapas.

Etapa 1: navegue até a página da área de trabalho clicando no ícone na barra superior, conforme
mostrado na captura de tela abaixo.

Aperte enter para pesquisar


Etapa 2: Depois que uma nova página é carregada, você pode ver uma opção de gerenciamento do
plano de teste no lado direito da página. Uma nova página aparecerá com um botão 'Criar', você deve
clicar nele.

Etapa 3: Forneça as informações nos campos e clique no botão Criar na parte inferior para concluir a
criação de um plano de teste.

Você pode editar e excluir um plano de teste.

Aperte enter para pesquisar


Como criar uma compilação


Antes de criarmos um build no TestLink, temos que criar permissão para Builds. Existem alguns
passos a seguir.

Etapa 1: Clique na opção Builds/Releases no lado direito do painel, conforme mostrado na captura de
tela abaixo.

Aparecerá uma nova tela, solicitando que você clique no botão 'Criar'.

Passo 2: Forneça os detalhes necessários e clique no botão 'Criar' na parte inferior para criar uma
compilação com sucesso.

A compilação deve ter um título exclusivo.


Existem dois atributos: ativo e inativo. Active é definido por padrão e define se a compilação pode
ser usada ou não. Quando selecionamos build inativo, eles não serão listados em nenhum lugar
Apertenos relatórios
enter ou nas páginas de execução.
para pesquisar
Uma data de lançamento é uma data futura em que a compilação será lançada.
A compilação também pode ser editada e excluída. 

Documentação de Gerenciamento do Conjunto de


Testes
Para validar funcionalidades dentro de um projeto, existem alguns casos de teste a serem executados.
Todos esses casos de teste fazem parte de suítes de teste, o que é útil para os testadores organizarem
as atividades de teste, além de fornecer informações sobre o status atual da execução.

To create a test suite in TestLink, go through the following steps.

Step 1: Click on the ‘Test Specification’ option in the bottom left of the screen on the dashboard.
Upon clicking the option, the following screen will appear.

Click on the icon that has been marked in black above in the screen, as it will show you various
operations to perform. Once you have taken a look, click on the (+) icon to the right of the words ‘Test
Suite Operations’
Aperte .
enter para pesquisar
Step 2: Fill all the necessary information and click on ‘Save’ button.

When this has been done, a tree-like structure will be created in the right panel of the screen. We can
add multiple subordinates under the same test suite, which can also edited and deleted.

How to execute Test Cases in TestLink


A test case is a step or sequence that sets out the given requirements of a certain scenario. It will have
preconditions, test data, expected and actual results, etc. In order to create and manage test cases in
TestLink, we have to follow the steps below.

Step 1: As with step 1 of the test suite, navigate to Test Specification and click on the option as shown
below (TS-001-ABC).

Step 2: Click on the settings icon which is marked in black and it will open two options beneath it.
Click on the (+) icon to the right of the words ‘Test Case Operations’.

Step 3: Fill out all the necessary information and click on ‘Create’ button in the form.

Aperte enter para pesquisar


Once the test case has been created, you will be able to see the tree structure on the left side of the
panel which has the test case under the test suite. Test cases can be edited and deleted as required,
and testers can easily create further steps for more efficiency by clicking the ‘Create Step’ button.

You can then provide necessary information and click on ‘Create’ button at the bottom as shown in
the below screenshot. It will link the steps with the respective test case.

Aperte enter para pesquisar


How to Create Users and Assign Roles Tutorial


This section of the tutorial deals with the different roles in TestLink, and how you can create them
according to the project requirements. Before we dive in  further, let us look at the default roles which
TestLink offers.

Guest: A guest cannot edit, but only view test cases and metrics.
Tester: A tester only has access to execute test cases and view test metrics.
Senior Tester: A senior tester can view, create, modify, and delete test cases as needed. Similar
to a regular tester role, a senior tester can execute test cases and can view test metrics. The senior
tester role cannot create test cases in TestLink.
Test Lead (Leader) & Admin: These roles can perform all major functionalities such as creating a
test plan and build, and are able to alter them at any stage. They can also execute test cases, and
assign roles to users along with permissions.

The following section shows how to create a user and assign permissions.

Step 1:  Click on the User icon in the navigation bar as shown below. A new page will open.

Step 2: Click the ‘Create’ button present on that page.


Aperte enter para pesquisar
Step 3: Enter all required details on the form.

Step 4: As a new user is created, you can now assign a project to that particular user. To do so, click
on the tab ‘Assign Test Project roles’.

Step 5: Select a project name and assign a role to that user, then click the ‘Update’ button present on
that page, as shown in the picture below.

Writing Requirements in TestLink


Aperte enter para pesquisar
A requirement details qualities that a function should possess in order to perform as envisioned. In
TestLink, requirements can be easily added, then linked to test cases. 
Step 1: Click on the ‘Requirements’ icon in the navigational tab as shown in the picture.

Step 2:  A new page will open. Click on ‘Create’ button.

Step 3: Fill out the form with the necessary information and click on ‘Save’ button.

Assigning the Requirements to Test Case(s)


One of the important activities for the test team is to track test coverage so that no requirements can
be missed. In TestLink, one can link the requirements to the test cases by following few of the below
steps.

Step 1: Navigate to ‘Test Specification’ section and open an existing test case.

Aperte enter para pesquisar


Step 2: As you can see in the above screenshot, a ‘Requirement’ button is present along with an icon.
You have to click that file icon button in order to link the test cases with the requirements. A dialogue
box will then appear.

Aperte enter para pesquisar


Step 3: After selecting your chosen requirements, click the ‘Assign’ button and the operation will be
executed successfully. 

Finally
In this tutorial we have learned the entire TestLink installation process, followed by core
functionalities of the tool which include creating of a project, test suites, test plan, build, and test
cases. There are other great features to use after setup such as easily generating test reports in various
formats to keep track of progress, and you can export and import test suites and test cases to and
from other projects. Because of its usefulness, TestLink is considered one of the most popular and
widely used test management tools available today.

AUTHOR
Ali Imam
Ali é um testador de software experiente e trabalhou em várias áreas, desde comércio eletrôni…

ARTIGO SEMELHANTE


8 DE JANEIRO DE 2020
Melhores ferramentas de gerenciamento de teste
As ferramentas de gerenciamento de teste ajudam as equipes de teste a melhorar
a eficiência, a organização e a colaboração, escrevendo e gerenciando
documentos de teste em um único local.

LEIA O ARTIGO 

Aperte enter para pesquisar


Categorias
 Teste ágil

 Ferramentas de teste entre navegadores

 Rastreamento de defeitos

 controle de qualidade

 Documentação de controle de qualidade

 Metodologias de controle de qualidade

 Processo de controle de qualidade

 Software de controle de qualidade

 Casos de teste

 Lista de ferramentas principais


Aperte enter para pesquisar
CASA CONTATE-NOS

© CO PY R I G H T QA .WO R L D . TO D O S O S D I R E I TO S R E S E R VA D O S .
TERMOS E CONDIÇÕES. POLÍTICA DE PRIVACIDADE.

Você também pode gostar