ATF submitting a record producer doesn’t work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2025 10:08 AM
I am unable to submit a record producer in portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2025 10:28 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2025 10:50 AM - edited 02-22-2025 10:51 AM
Hi @J_31 ,
Here’s a step-by-step guide to setting up an Automated Test Framework (ATF) in ServiceNow to test the submission of a Record Producer via the Service Portal.
Step 1: Enable ATF (if necessary)
If ATF is not enabled in your instance:
- Go to System Definition > Plugins
- Search for Automated Test Framework
- If it's disabled, activate the sn_atf plugin
Step 2: Create a New Test in ATF
- Navigate to: Automated Test Framework > Tests
- Click New to create a new test
- Fill in the fields:
- Name: Test Record Producer via Service Portal
- Active: True
- Application: Select the correct scope
- Test Runner: Client Test (since it involves the Service Portal UI)
- Click Submit
Step 3: Add Steps to the Test
Now, edit the test and add the required steps:
Start the Test in a Browser
- In the created test, click Add Test Step
- Select Open a new browser window
- Configure:
- Test User: Select a user with access to the Service Portal
- URL type: Relative
- URL: /sp (or the URL of your specific Service Portal)
- Click Submit
Navigate to the Record Producer
- Click Add Test Step
- Select Open a Service Portal Page
- Configure:
- Page type: Record Producer
- Record Producer: Select the Record Producer to test
- Wait for loading: ✅ (checked)
- Click Submit
Fill in the Form
- Click Add Test Step
- Select Set Variable Values on a Record Producer
- Configure:
- Record Producer: Select the Record Producer
- Add the fields you want to populate with test values
Submit the Form
- Click Add Test Step
- Select Submit a Record Producer Form
- Click Submit
Validate Record Creation
- Click Add Test Step
- Select Validate a Record was Created
- Configure:
- Table: The table where the record should be created (e.g., sc_req_item)
- Field to validate: A relevant field to confirm that the record was created correctly
- Expected value: The expected value for the validated field
- Click Submit
Step 4: Run the Test
- In the created test, click Run Test
- Choose an available Test Runner
- Click Run and monitor the process
If the test fails, check the ATF logs to identify the issue.
If my answer helped you, remember to mark it as the correct answer and like it so that other users can find it and encourage us to continue answering.
Thank you !
- Carlos Petrucio

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2025 09:50 AM
Hello, I hope you are well.
Did you find a solution after following the step-by-step instructions?
Remember to mark it as correct so that other users can find it and encourage us to continue responding.
Thank you!
- Carlos Petruccio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2025 07:09 PM
unless you share what you have configured we can't help.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader