How to Create a Test Step of Open a Record Producer (SP)?

sl888
Kilo Guru

Hi,

I have an issue with creating a test step of Open a Record Producer (SP) where it error out with error summary "FAILURE: Failed to open Record Producer. Either you don't have access to the Record Producer or g_form is not defined". I am in London version. When I read documentation from ServiceNow (https://docs.servicenow.com/bundle/london-application-development/page/administer/auto-test-framewor...) it said that I need to have access on the record producer which I have an admin role and I add role catalog_admin, and catalog_manager, but when I execute the test it still error out.

Please help.find_real_file.png

Thank you.

1 ACCEPTED SOLUTION

Tony Cattoi
Mega Guru

I had the same error.  To fix it I had to add the new SC Catalog Item widget to the sc_cat_item page.  The page had the old catalog item widget which is now called SC Catalog Item Deprecated on the page.  Once I did that everything worked fine with the automated test.

View solution in original post

11 REPLIES 11

Trupti2
Kilo Expert

Hello all,

I am getting same error as mentioned above. And i am using sc_cat_item page only. Still getting same error.

Please suggest

Hi Trupti,

It is a good idea to keep 5-10 seconds timeout for those steps, because the steps prior to them may not complete so soon.

Personalize the 'Test Steps' section in the Test and add Timeout column. And then Set the timeout value.

find_real_file.png