ATF - FAILURE: g_form is not defined. A valid form must have g_form defined

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2019 11:36 PM
Have anybody found a solution for this error
FAILURE: g_form is not defined. A valid form must have g_form defined
I am getting this error in the test step "Open a Form (SP)". I open a custom portal with a custom page that contains 3 custom widgets.
I have tried to setup g_form with code like this
$scope.$on('spModel.gForm.initialized', function (e, gFormInstance) {
g_form = gFormInstance;
}
but the event spModel.gForm.initialized is never fired.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2020 06:10 AM
Hi,
I am getting the below error while trying to open Catalog Item using ATF.
FAILURE: Failed to open Catalog Item. Either you don't have access to the Catalog Item or g_form is not defined
The catalog item works fine otherwise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2021 11:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2021 11:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2021 02:38 AM
Check for user criteria, the user i was trying to impersonate was not authorized to view the catalog item, hence i was getting the error