test-suite
2023.10
false
UiPath logo, featuring letters U and I in white

Test Suite User Guide

Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated Dec 18, 2024

ServiceNow

Important: You can integrate Test Manager with ServiceNow only through UiPath Test Manager Connect. Visit UiPath Test Manager Connect to check the resources you can use to create an integration with ServiceNow and other ALM tools, via Planview®.

Integrate ServiceNow™ with UiPath Test Manager to manage and automate tests throughout the development lifecycle. 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.

Prerequisites

  • UiPath Test Manager administrator account.
  • UiPath Test Manager Connector.
  • ServiceNow™ account including either Agile Development or Test Management v2 plugin. Alternatively, you can use both plugins for this integration.

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



  6. 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.



  6. Click the connection to expand the panel and copy the API Key for later use.
  7. 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.
  8. 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.



  9. 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.

Related articles

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.