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
‎04-05-2019 08:04 AM
I have been trying to create an automated test covering a user logging an incident in the portal using the Ask for help record producer. I can open a new form and log the incident successfully. However, when I try to reopen the form for the user to add comments, the test opens the correct form (the screen dump show this) but it errors on that step and is generating the above error.
I saw in another thread that someone suggested this error message might be because the widget was deprecated, but that isn't the case with this one. We are using the most recent version. I have simplified the test down to the basic steps:
It is the final Open a Form (SP) that is failing:
The step details are:
Is the error being generated because there are no query parameters? If so, what parameters would be needed? The screen dump shows it is opening the correct form with the correct incident:
Any ideas please?
Regards,
Anne.
- 6,978 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2019 12:40 PM
We are having same problem, were you able to resolve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2020 12:13 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2020 12:37 AM
In New York use "Custom UI " and then "Open Service Portal Page" this should not need g_form as requirement. But you probably need to setup the ATF utility helper object to perform the various tests.
Look in OOB widget "SC Catalog Item" in the client controller script for an example. Look for the line "// ATF helper object"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2022 08:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2020 04:56 AM