Test SDK: Generating Wrappers for Generic Inquiries & Multi Tenant Websites


Userlevel 4
Badge +1

Hello Acumatica Test SDK Developers,

Edit: Since this post we have updated our certification guidelines to require use of the GenerateWrappers() method found in this Template Project, https://github.com/Acumatica/Test-SDK-Starter-Guide
There are comments in the code/method with the updated advice of GI wrapper generation.

 

Two common problems developers run into while developing and updating their Test SDK tests:

  1. Wrapper generation fails, “so301000.aspx not found” type error
  2. PL/Generic Inquiry screens being skipped during wrapper generation

Issue #1 causes the classgenerator.exe to fail, and often break the website by locking the web.config, meaning you have to restore the original web.config, or reinstall the site from the installer to use the site again. A major Pain, a major waste of valuable time.

Issue #2 will just skip generation of that PL screen if placed in the regular screen spot.

 

Solutions:

  1. <add key="Username" value="admin@Company" /> must exist in the classgenerator.exe.config if there is more than 1 tenant/company on the site. Or else it will not be able to log in to the site successfully.
  2. To generate PL/Generic inquiry screens, you must have an external .txt file containing the screenID + the screen GUID found in the site map.

I wish you the best on your Test SDK Development!

 

Aaron Beehoo

Acumatica Technical Account Manager

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


0 replies

Be the first to reply!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved