- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2018 01:07 PM
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.
Thank you.
Solved! Go to Solution.
- Labels:
-
Automated Test Framework
- 3,851 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2018 05:23 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2018 02:14 PM
Hi Ankush,
I also tried create a test step for Open REcord Producer (SP) in my developer instance and select the OOTB record producer of videoconferencing. I have the same error that said "FAILURE: Failed to open Catalog Item. Either you don't have access to the Catalog Item or g_form is not defined".
I think I might need to log a HI ticket for this issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2018 05:23 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2018 01:27 PM
Hi Tony,
Thank you for your answer. It does fix my issue after updating the widget from Sc Catalog Item Deprecated into SC Catalog Item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2019 12:56 AM
We have a customized item and instead SC Catalog Item Deprecated, we have the customized name 'xxx SC Catalog item', and still I get the g_form error on running it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2019 04:47 AM
I believe that the automated test framework currently will only work with the ServiceNow provided widget.