Not able to delete RITM using Click a UI action test step of ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
I’m trying to delete a Requested Item (RITM) record in ATF, but I’m running into an issue with the delete confirmation popup.
When we manually click the Delete UI action on an RITM form, a confirmation dialog appears (Cancel / Delete). However, in ATF:
- I tried using “Click UI Action” on the Delete button
- The confirmation popup appears, but ATF does not proceed further. And throws error - "FAILURE: Browser failed to submit 'sc_req_item' form to server when clicking UI action 'Delete'"
- The record is not deleted
My goal is to delete a specific RITM record as part of my test.
What is the way to click on Cancel button on the confirmation pop-up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Refer this KB: KB0725235 Error "Browser failed to submit 'new_call' form to server when clicking UI Action 'New Inc...
Check if in Ui action Client is true, then change the Assert type to None .
If still not working, check it in Incognito window /InPrivate browser.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Changing assert type to None for Click a UI action step followed by Click Component (Custom UI) worked for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
For all client callable ui actions have required roles created, can you check if there is a role mismatch, you can do it via going to acls and check for your ui action.
Kind Regards,
Azar
Serivenow Rising Star ⭐
Developer @ KPMG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
ATF have limitation over pop-ups. You can not operate any function over it.
here is the KB article :ATF not supporting Pop-Up browser windows - Support and Troubleshooting
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
