Unable to submit ATF 'FAILURE: Browser blocked submission of 'null' form to server atf'

Bhuvanesh Babu
Giga Expert

Hi All, and @Ankur Bawiskar ,

I am trying to create a ATF for a Catalog Item, after setting up the values (Hardcoded and also Run Script Output) if I use the 'Submit a Form (SP) and assert type as Form Submitted to Server it throws an error 'FAILURE: Browser blocked submission of 'null' form to server atf,  I have filled in all the fields and no other checks or UI policy runs on the Catalog Item.

Please let me know how to overcome this.
Error Snip is attached below

find_real_file.png

Regards,

Babu

 

 

1 ACCEPTED SOLUTION

Hi,

why are you using Submit a Form?

It's not normal form but some catalog item or record producer right?

then you can use this step

Submit Record Producer (SP) OR Order a Catalog Item (SP)

Regards
Ankur

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

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

You said you are testing catalog item but the steps in screenshots are not for catalog item

Is it failing always?

Regards
Ankur

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

Hi @Ankur Bawiskar , 

I am creating a ATF test for the catalog item, and it fails every time even though I do not see any other error in ATF step results and the test runner.

Below is the snip of the test runner and also there are no other fields that were not filled, even then I am unable to submit the form.

Test Runner Snip: 

find_real_file.png

Please let me know if you have any idea of what might be the problem.

Regards,

Babu

Hi,

why are you using Submit a Form?

It's not normal form but some catalog item or record producer right?

then you can use this step

Submit Record Producer (SP) OR Order a Catalog Item (SP)

Regards
Ankur

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

Hi @Ankur Bawiskar , 

I was checking using that step, earlier I was using Submit a Form (SP), but the ATF was successful after I used Order a Catalog Item (SP).

Issue resolved.

Thanks

Babu