from ATF test click on a modal button

Hong Liu
Tera Contributor

Hi ServiceNow expert,

 

I was trying to add a "click Modal button"  ATF test step to close a popup window (special handling notes), however, the failure said "FAILURE: Button 'special_handling_notes_closemodal' does not have an onclick method.

 

See attached screenshots for details, any help will be appeciated.

 

Thank you,

Hong Liu

 

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Hong Liu 

Did you try to use Click Custom Component UI step and find that close icon?

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

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Hong Liu 

Did you try to use Click Custom Component UI step and find that close icon?

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

Thank you Ankur,  it works!