Gitlab Integration Introduction

Follow the instructions below to configure Gitlab integration with PractiTest

Configuration

 

  1. In PractiTest, go to Project Settings > Integrations, and activate the Issue Integration by clicking on the “activate” link.

PractiTest Settings Integrations

2. Select “Gitlab” from the Bugtracker dropdown list

Gitlab integration set up

 

3. Once you’ve chosen Gitlab, enter the URL Prefix that will be used by PractiTest to connect to your Github.

Note! This URL should have access to create bugs in Gitlab.

The URL Prefix will prbably have the following structure (can differ sometimes): https://gitlab.com/user_name/projectName/

For example https://gitlab.com/practitest/gitlab_integration

Click the “Update issue integration” button to activate the changes.

 

Working with Gitlab Integration :

  1. Run your tests normally.
    When you encounter an issue enter press the Fail & Issue Icon. gitlab integration fail and issue
  2. A new browser tab or window (based on the configuration of your browser) will be launched opening your Gitlab New Bug page. If you configured your browser to remember your username and password it will even log directly into the screen where you report your issue.gitlab integration reporting an issue
  3. After reporting the issue take note of the new Gitlab ID (#1 in this example) and go back to PractiTest, where you should enter this ID on the Issue ID field and press the Link existing issue button. You can enter multiple issues at once by separating them using comas or spaces.gitlab integration link issue
  4. The Gitlab Issue will be linked to the test step, and pressing the issue ID will open it in a new window on your Gitlab Instance.gitlab integration linked issue  

    Click Linked Issue in TestRun to view and update Issue in Gitlab:

View Linked issue in Gitlab

If you have any questions, errors or issues, feel free to contact us we are here to help.