ATF step error [Function instanceOf is not allowed in scope sn_sow_interaction: no thrown error' ]

Besfort MULAJ
Tera Contributor

Hello, 

 

Hello,

Can you help me with this type of error on a 'Submit a Form' step?

 

This step failed because of the client error '*** Script : Error in InteractionConferenceParticipant.getGroupMembers : JavaException : com.glide.script.fencing.MethodNotAllowedException : Function instanceOf is not allowed in scope sn_sow_interaction : no thrown error' was detected on the tested page. See test log failure. To ignore these errors in the next test, use the “Add all client errors to warning/ignored list” links.

 

I've also put in Allowed Errors but it doesn't work?

It's a matter of clicking on a Save or Submit button!

Any idea how to resolve ? 

Thanks for your help.

 

1 ACCEPTED SOLUTION

Josh Pirozzi
Kilo Sage

Hi @Besfort MULAJ,

 

When working with an ATF Test, and needing to click on a UI Action to Save, there may be multiple Save UI Actions available on the form based on the Parent>Child Table relationship.

 

I'd recommend checking the Test Step where you're clicking the UI Action, see if there are multiple Save options, and trying a different one.

 

Hope this helps!

- Josh

View solution in original post

7 REPLIES 7

Shaqeel
Mega Sage

Hi @Besfort MULAJ 

 

Uncheck the fail on server error field. and then run.

Shaqeel_0-1736507411361.png

Regards

Shaqeel


***********************************************************************************************************************
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

I tried but I have the same error. 

Ankur Bawiskar
Tera Patron
Tera Patron

@Besfort MULAJ 

are you getting similar error in browser console when you submit form manually?

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

Hello, 
When I test manually I can click save/submit.