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
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.
Open the Settings menu.
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)
Click Sign in to ServiceNow
π Authorization confirmation
A confirmation dialog will appear requesting access.
Review the displayed details
Click Allow to complete authorization
π§© 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.
β 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:
If a test fails, the tester can click Fail and Report Bug.
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)
Submit the form to create the defect directly in ServiceNow.
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.





