Skip to main content
Answer

Test SDK : Error when create extension classes for generated page wrappers

  • October 28, 2023
  • 2 replies
  • 77 views

Hello, good day everyone.

I just started learning the Acumatica Test SDK by reading the SDK Readme, when I went to the section for creating Extension Classes for Generated Page Wrappers, I got an error at GL102000_GLSetupMaint, the error is attached in the photo below.
 


Please help me, thank you.

Best answer by AaronB

Hello, yes you are missing the reference to the wrapper file(s). I see you have not generated wrappers yet that are needed to create an extension.

 

Please use this git project as your testing base project. It has a method and aditional documentation on on how to generate wrappers, create extensions and write tests.

 

Ensure you follow the readme.md and inline comments.

https://github.com/Acumatica/Test-SDK-Starter-Guide 

2 replies

Hi @muhammadzuhairi72 ,

the error is denoting that there is an  missing reference. make use you have added the proper namespaces related to the wrapper classes.  

eg: using GeneratedWrappers.Tests ;


AaronB
Varsity II
Forum|alt.badge.img+1
  • Varsity II
  • Answer
  • October 30, 2023

Hello, yes you are missing the reference to the wrapper file(s). I see you have not generated wrappers yet that are needed to create an extension.

 

Please use this git project as your testing base project. It has a method and aditional documentation on on how to generate wrappers, create extensions and write tests.

 

Ensure you follow the readme.md and inline comments.

https://github.com/Acumatica/Test-SDK-Starter-Guide