Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Not able to delete RITM using Click a UI action test step of ATF

BhagyashriS4766
Tera Contributor

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.

4 REPLIES 4

Tanushree Maiti
Kilo Patron

Hi @BhagyashriS4766 

 

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.

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Changing assert type to None for Click a UI action step followed by Click Component (Custom UI) worked for me.

BhagyashriS4766_0-1776913034891.png

 

Its_Azar
Mega Sage

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. 

☑️ If this helped, please mark it as Helpful or Accept Solution so others can find the answer too.

Kind Regards,
Azar
Serivenow Rising Star
Developer @ KPMG.

Shaqeel
Mega Sage

Hi @BhagyashriS4766 

 

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