Skip to main content

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


AaronB
Varsity II
Forum|alt.badge.img+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

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings