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

Brian Bouchard
Mega Sage

What version of the platform are you on.

What exactly are you trying to Submit? 

When you run through the steps manually, are you executing as the same person in the test and/or a person with exact same roles?
When you execute manually, did you check to see if you see a similar error in the system logs even though it appeared to work as expected?

It's not an exact match, but I did find this KB article that may give a clue of some things to look for:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1638819

Besfort MULAJ
Tera Contributor

Hello, 
Version --> Build name: Xanadu  patch4-11-22-2024

Trying to submit à form --> FAILURE: Failed to find UI action 'Save' on 'incident' form

Yes, is the same person and I tried to do with my account, other steps work well for example: create a ticket, set field values etc 

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