Skip to main content

Integration with ServiceNow as Defect Manager

Integrate ServiceNow with TestCollab to report defects directly from failed test cases

Updated this week

TestCollab allows you to integrate ServiceNow as a defects manager so testers can report issues directly from failed test cases. Once configured, defects are logged seamlessly in ServiceNow along with test execution details, reducing manual effort and context switching.

⚠️ Important Note
The administrator configuring defect management in TestCollab must have permission to create a new Inbound Integration in the ServiceNow instance.


πŸ”§ To be done on the ServiceNow instance

Before setting up the integration in TestCollab, you must configure an inbound integration in ServiceNow.

βž• Add a new Inbound Integration

  • Log in to your ServiceNow instance

  • Create a new Inbound Integration

  • Provide a Name for the integration (mandatory)

  • In Redirect URLs, enter:

  • Client ID and Client Secret will be auto-generated

  • Under Configure auth scopes

    • select useraccount as Auth Scope

  • Save your changes

ServiceNow integration in TestCollab

Keep the Client ID and Client Secret ready, you will need them in TestCollab.


βš™οΈ In TestCollab

Go to the project where you want the ServiceNow integration to be enabled.

  1. Open the Settings menu.

  2. Select Defects.


πŸ› οΈ On Defects Settings page

πŸ”— Connect account

  • Select ServiceNow as the issue manager

  • Under Connect Account:

    • Enter your ServiceNow instance URL

    • Paste the Client ID and Client Secret (obtained while configuring inbound integration in ServiceNow)

ServiceNow integration in TestCollab
  • Click Sign in to ServiceNow


πŸ” Authorization confirmation

A confirmation dialog will appear requesting access.

  1. Review the displayed details

  2. Click Allow to complete authorization

ServiceNow integration in TestCollab


🧩 Configure section

Once connected, configure how defects should be created in ServiceNow.

  • Enter the ServiceNow table name you want to use for defect reporting (more details)

  • Click Load Fields to fetch fields from the selected table

  • Use Show more to view all fetched fields

  • Use the toggle button next to each field if you want testers to see them on the Report Defect screen.

  • Optionally, set default values for selected fields.

  • Click Save Settings to finish configuration.

ServiceNow integration in TestCollab

βœ… Testing the connection

Use Test Connection

βœ”οΈ This will:

  • Verify connectivity with ServiceNow

  • Create a sample defect in ServiceNow based on the selected table and field configuration


▢️ Reporting a defect while running a test case

When executing a test case:

  1. If a test fails, the tester can click Fail and Report Bug.

  2. A defect form opens with:

    • Failed test case details

    • Comments or attachments (if added by the tester)

    • Selected ServiceNow fields with pre-filled default values (if configured)

  3. Submit the form to create the defect directly in ServiceNow.

ServiceNow intergration in TestCollab


With this integration, TestCollab ensures defects are reported accurately, consistently, and instantly, keeping your testing and defects management workflows tightly connected.


πŸ“˜ Common ServiceNow Table Names

The following table lists commonly used ServiceNow tables that can be configured for defect reporting in TestCollab.

Table Name

Description

task

Base task table used for work items; Incident, Problem, Change, etc. inherit from it

problem

Stores Problem records such as root cause analysis and known errors

problem_task

Tasks created under a Problem record; extends the task table

incident

Used for tracking immediate, user-reported issues

change_request

Used for managing and tracking infrastructure or application changes

sc_task

Catalog tasks generated from Service Catalog requests

This reference can help you select the appropriate table when configuring ServiceNow defect reporting in TestCollab.

Did this answer your question?