How to click "Delete" button in confirmation popup using ATF?

Sachin G K1
Kilo Sage

Hi All,

In the Risk Workspace, when I click on Delete for a risk record, a confirmation dialog appears with a Delete button. I'm using ATF (Automated Test Framework) and I need help to click on this confirmation Delete button in the popup.

 

How can I handle this in ATF?

FYI: I used the custom ui, but this didn't captured the buttons of confirmation dialog.

SachinGK1_0-1748432926722.png



Thanks in Advance,
Sachin G K

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

@Sachin G K1 

did you try to use some Modal step?

Did you try to use Custom UI step?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

I used the custom ui, but this didn't captured the buttons of confirmation dialog. But for Modal step, what values we need to pass for Modal Values field.

SachinGK1_0-1748433750745.png

 

 

@Sachin G K1 

for modal to work it should be a form and then using some UI action modal should be opened

but in your case it's not form

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

sure,how can we click on delete button in atf?