Cannot select the Radio Button using Click Component (Custom UI) in ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 01:05 AM
I'm experiencing the same issue with the risk assessment form when using ATF:
The problem is that I cannot select any of the choices in the risk assessment, and even the Submit button does not respond to clicks of the ATF.
Retrieved Components in ATF:
Cannot proceed with the rest of steps if risk assessment is not filed.
Am I missing something? Or is there any work around for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 02:07 AM
ATF has it's limitations when it comes to Custom UI step.
If you are able to retrieve the components and unable to set, nothing can be done here.
Even if you are able to set it, there's no guarantee it will work later or after the upgrade as it relies on the HTML elements on that page.
Please inform your customer about this limitation.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 06:20 PM
Hi Ankur, do you think it's possible to script the creation of risk assessment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 11:19 PM
you can but testing it with a scripted ATF defies the purpose of using ATF.
ATF is meant for testing simple use-cases and not complex ones which relies on custom steps.
So I will recommend to inform this to your customer.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 10:46 PM
@symonflores_23 - Can you please try using 'Set field values' test step. You can use it to target the radio button field by its name. Instead of entering a value, you will enter the label of radio button you want to select.