unable to set form radio buttons in ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2025 03:40 AM
Hi all,
I want to fill the form which appears upon clicking the UI action. The form has radio buttons, I am trying 'set component values" custom ui step in atf but it is not setting the form value. How do i do it ? I need to do it through ATF.
Please find the form image below:
Thanks in advance!
Tiasha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2025 03:43 AM
Hello @tiasha123
Sometimes "Set Component Values" doesn’t work well for radio buttons. Instead, try:
-
Use:
Set Field Values
-
Target the field name as per the dictionary name of the radio button field
-
Enter the label value of the radio button option (not the internal value)
Example:
Radio field name:
priority
Option label:
High
Then in
Set Field Values
, setpriority = High
If you find my solution helpful, Please mark it as Accepted and thumbs up on it.
Regards,
Samaksh Wani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2025 05:17 AM
Hi @Samaksh Wani ,
This form first needs to be retrieved using retrieve components custom ui step and after then we need to fill in the form, but its not setting the values still.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2025 06:53 AM
1. Make sure the below property is enabled,
Now, try retrieving all the Custom UI Test Steps one by one and proceed with your Testing. If this doesn't work, then try creating an another TEST for your requirement and then make sure you are selecting the correct values from the Retrieve Components
Let me know if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2025 03:45 AM
did you try to retrieve the components using Click Component Custom UI Step?
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