How to ADD Incident in to the Problem related list using ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 01:35 AM
Hi Team,
Can anyone help With ATF Steps
How to ADD Incident in to the Problem related list using ATF.
i will able to click Add button.
I don't know how to filter and select
Steps:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 08:27 PM - edited 03-05-2025 08:29 PM
Till Click UI action "Add" working.
Please help me with the step how to select specific record in look up window
Steps:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 08:51 PM
I don't think you select any specific without using Click Custom Component UI Step
Did you try to see if you are able to find multiple checkboxes?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 08:55 PM
yes tried Click Custom Component UI Step but unable to filter out the records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 02:41 AM
Open the ATF Test Case
Navigate to Automated Test Framework → Test Cases.
Create a new test or open an existing one.
Create a New Step for Opening the Problem Record
Step Type: Open a New Form or Open an Existing Record.
Table: problem (Select an existing problem record or create a new one).
Action: Open Record.
Click the "Add" Button in the Related List (Incidents)
Add a step: Client Test Step → Click a UI Action.
Choose Related List: Incidents.
Select UI Action: "Add" (Button to add incidents).
Filter and Select an Incident in the Lookup Window
Add a step: Set Field Values
Field: Use the search filter to locate a specific Incident.
Select the Incident and click "OK".
Submit or Save the Form
Add a step: Click a UI Action → Click "Save" or "Update".
Validate that the Incident is Linked
Add a step: Field Validation.
Field: "Incidents" (Related List).
Condition: Contains INCXXXXXX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2025 08:23 AM
Hi @saha23456 ,
You can do this by anyone of following methods.
Method 1: By 'Record Update' step.
*Using 'Record Query' query the Incident record which you want to link with the Problem created in ATF step.
*Using 'Record Update' update the above Incident by selecting 'Problem' field with value as the Problem created in ATF step.
Method 2: By 'Set Field Values' step.
*Using 'Open an Existing Record' open the Incident record which you want to link with the Problem created in ATF step.
*Using 'Set Field Values' update the above Incident by selecting 'Problem' field with value as the Problem created in ATF step.
*Using 'Click a UI Action' click on 'Save' UI Action.
If my answer helped, please mark it as helpful or accept as the solution.
Regards,
Chidanand