Subscribe

UiPath Test Suite

UiPath Test Suite

ServiceNow™

Overview


Integrate ServiceNow™ with UiPath Test Manager to manage and automate tests throughout the development life-cycle. With this integration, you can include automated testing directly into your agile planning or directly assign automation to test cases created in ServiceNow™ Test Management 2.0..

To connect UiPath Test Manager to your ServiceNow™ instance follow these procedures:
Step 1: Create an Integration User Account in ServiceNow™
Step 2: Configure a ServiceNow™ Connection

Supported Object Types and Data Transfer Direction


The following objects types are supported in UiPath Test Manager:

  • Requirements
  • Test Cases
  • Test Results

The direction of data transfer and corresponding artefacts are listed in the following table:

ServiceNow™

Direction

UiPath Test Manager

Story

Story

Test

*

Test

Test Execution Suite

Test Execution

Test Result

Test Result

Test Result Step

:heavy-minus-sign:

:heavy-minus-sign:

Defect

Defect

* Tests are only transferred from ServiceNow™ to UiPath Test Manager. If you have assigned automation for a test in UiPath Test Manager, this will be indicated on the corresponding test case in ServiceNow™.

Prerequisites


  • UiPath Test Manager administrator account.
  • UiPath Test Manager Connector. For more information, see Install a ServiceNow™ Store application.
  • ServiceNow™ account including either Agile Development or Test Management v2 plugin. Alternatively, you can use both plugins for this integration. For more information, see ServiceNow™ Store.

Create an Integration User Account in ServiceNow™


Create a new user account and assign specific roles to it, to make API requests to UiPath Test Suite components.

  1. Log in to your ServiceNow™ instance.
  2. Navigate to Organization > Users > New to create a new user for the UiPath Test Management application.
  3. Configure new user account settings with the following conditions:
    • Choose a User ID, First name, Last name and Password.
    • Keep the User ID and password at hand for later use.
    • Select Web services access only and Internal Integration User, as these are required for the integration to work.
  4. Go to the Roles tab and select Edit.
  5. Assign the following roles to the newly created user:
    • import_set_loader
    • import_transformer
    • scrum_admin
    • x_uipa_tm_integrat.admin
  1. Click Save to return to the user form.

🚧

Important

If you have REST API role access restrictions in your ServiceNow™ configuration, you need to assign additional roles. For example, nc_platform_rest_api_access and rest_service.

Configure a ServiceNow™ Connection


Configure a ServiceNow™ connection in UiPath Test Manager.

  1. Log in to Test Manager as an administrator.
  2. Open your project.
  3. Navigate to Project Settings > Integration.
  4. Click New Connection and select ServiceNow from the dropdown.
  5. Configure the following connection settings:
    • Name: Enter a name for your ServiceNow™ connection.
    • Description (Optional): Add a description for reference.
    • Server URL: Add the ServiceNow™ server URL. For example: https://environment.service-now.com/.
    • User: Enter the User ID you have configured for your integration user account.
    • Password: Enter the associated password.
    • Defect Type: Select a defect type from the dropdown. For now, you can only choose Defect.
  1. Click the connection to expand the panel and copy the API Key for later use.
  2. Open the Application Navigator in ServiceNow™ and use the search function to find UiPath Test Suite Integration. If prompted to switch the application scope, select the one you are currently working with.
  3. Configure the following integration settings:
    • Integration URL: Add the UiPath Test Manager URL.
    • API Key: Paste the API key.
    • Logging level: Select info to from the dropdown. The default value is debug.
    • ServiceNow integration user for UiPath Test Manager: Enter the User ID you have configured for your integration user account.
  1. Click Save.

Managing ServiceNow™ Connections


The following table lists the actions that you can take to manage your ServiceNowTM) connections.

Action

Description

Procedure

Edit

Edit your connection settings.

  1. Log in to the Test Manager as an administrator.
  2. Open your project.
  3. Click the Settings button to open Project Settings.
  4. In the Integration list, click a ServiceNow connection to expand the panel.
  5. Click Edit to configure the connection.
  6. Click Save to confirm.

Delete

Delete the selected connection and its associated requirements.

  1. Log in to the Test Manager as an administrator.
  2. Open your project.
  3. Click the Settings button to open Project Settings.
  4. In the Integration list, click a ServiceNow connection to expand the panel.
  5. Click Delete to remove the connection.
  6. Click Ok to confirm.

Updated 2 months ago


ServiceNow™


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.