Skip to main content
Linking Automated & Manual Tests
Doris Sooläte avatar
Written by Doris Sooläte
Updated over a year ago

Testlio Manual Tests linking

In order to link automated test case results with a particular manual test case on the Testlio platform, in the test script code you should add a label testlioManualTestID to the specific test cases, having corresponding Testlio Manual Test ID as a value using the Allure reporting framework.

Below you can see how this label can be set in different environments and programming languages.

Java (TestNG)

import org.testng.annotations.Test; 
import io.qameta.allure.model.Label;
import static io.qameta.allure.Allure.getLifecycle;

@Test
public void testCase() {
Label label = new Label();
label.setName("testlioManualTestID");
label.setValue("636aad07-dbdc-419e-92d6-0d432c07895c");
getLifecycle().updateTestCase(testResult -> testResult.getLabels().add(label));
}

Node (WebdriverIO, Mockito)

import allureReporter from '@wdio/allure-reporter';

describe('When on login screen', () => {
it('checks that can login with correct credentials', async() => {
allureReporter.addLabel('testlioManualTestID', '636aad07-dbdc-419e-92d6-0d432c07895c');
});
});

To obtain the Testlio Manual Test ID:

  1. Login to the Testlio platform

  2. Select a workspace

  3. Go to the Tests view

  4. Find and mark with checkboxes test cases you’re looking for

  5. Click Export button

  6. Mark with checkbox "Include references for update on import"

  7. Click Start Export in the appearing modal

  8. In the downloaded CSV you will be able to find the corresponding manual test GUID for each exported test case (look for Existing test ID column)


Did this answer your question?