Open an Order Guide (SP) ATF throws error

SuchiP
Tera Expert

I am having a simple ATF script, which is having a single step.

Open an Order Guide (SP) .

While running the script, the following error is displayed:

'FAILURE: Failed to open Order Guide. Either you don't have access to the Order Guide or g_form is not defined' . 

Noted:

While running the script, the form opens in Client Test Runner successfully, but I am getting the above error.

 

I have access to the order guide,

I have even tried with Admin role and with impersonating other users.

 

 

 

1 ACCEPTED SOLUTION

Yes, I can open the order guide after changing the page field.

Thanks.

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@SuchiP 

even with admin role the same error is coming?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Yes even with admin role. And one thing the Order guide is opening in the portal.

Shaqeel
Mega Sage

Hi @SuchiP 

 

If you are able to open the order guide manually the lets focus on the second part of the error.

g_form is not defined

This is due to come error in the client script for that order guide.

Kindly check with the dev team and follow this https://www.servicenow.com/community/developer-forum/uncaught-referenceerror-g-form-is-not-defined/m... 

 

Regards

Shaqeel

 


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

Yes, I can open the order guide after changing the page field.

Thanks.