- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 02:19 PM
Hi,
I have a catalog item form that has this "Add" button that when clicked brings up a modal dialog/window with some fields or dropdown listboxes for DB Server Name, DB Name, etc.
How do you do the Steps in ATF Tool? (something new to me)
Please give example or if there is an example from ServiceNow out-of-the-box sample Tests, please share the name(s) of the ATF Test(s).
Thanks.
Gilbert
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 11:49 PM
Hi Gilbert,
you don't need to click the "Add" button at all while adding multi row values in SP.
The modal dialog box just appears by calling the step ""Add row to multi.row variable set (SP)".
In the screenshot you see one of my reusable tests that is adding opening a record producer, adding 2 different multi row values and setting normal values in the record producer.
best regards,
Beate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 10:47 AM - edited 07-30-2025 11:17 AM
When you use "Add row to Multi-Row variable set (sp)" is like clicking the add button. So just follow the steps I gave and watch it you will see it works.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 11:00 AM - edited 07-23-2025 11:03 AM
I just tied this in my PDI. You need to run this test against the Service Portal. If you have any variables that are not in the multi-row variable set I would set them first. Here are the test steps I used. It appears that you have to add a row one at a time and save each row. My PID is no Yokohama so if you are on a earlier version of ServiceNow I'm note sure if the test steps are available.
Edit: I just checked my company instance which is on Xanadu and it there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 05:58 AM
Hi Brian,
Thanks for your suggestion. However, it does not show the Step to click the Add button on the form to bring up the modal dialog box where you enter or select values. I'm wondering how the modal dialog box is recognized by ATF.
Thanks.
Gilbert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 11:49 PM
Hi Gilbert,
you don't need to click the "Add" button at all while adding multi row values in SP.
The modal dialog box just appears by calling the step ""Add row to multi.row variable set (SP)".
In the screenshot you see one of my reusable tests that is adding opening a record producer, adding 2 different multi row values and setting normal values in the record producer.
best regards,
Beate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 02:04 PM
Thank you Beale.
The solution you guys provided works.
ATF Tool does not have to click on the "Add" button like how the user will do it since equivalent things are done in the backend.