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:
- Wrapper generation fails, “so301000.aspx not found” type error
- 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:
- <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.
- 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