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,967 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2019 08:08 AM
This is an known issue which is fixed in London release.
https://hi.service-now.com/kb_view.do?sysparm_article=KB0681668
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2019 08:14 AM
Thanks for replying but we are on London Patch 6 so whatever was causing the issue previously must have been different.
Regards,
Anne.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2019 02:44 AM
Hi Anne
Were you able to resolve this issue?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2019 06:44 AM
Hi Anne,
I would like you to use the Service Portal(SP) test steps for the above.
Since, you are at first following normal test step like Opening a record producer and then you are trying to open that particular form using the SP test step, as a result the value is not being fetched.
Kindly open the record producer using the SP test step which will not give the above mentioned error.
Please mark the answer as correct if it suffice your query.
Thanks.