Skip to main content
Solved

Acumatica Test SDK


Forum|alt.badge.img+1

Hi,
I am doing Unit testing by using Acumatica Test SDK.
https://www.acumatica.com/blog/creating-acumatica-test-sdk-tests-from-scratch-for-isvs/
By taking the reference of above link Compiling the Code for my custom screen.
Getting the Below error

'Tests.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Symbols loaded.
'Tests.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Users\TH-003_PC\source\repos\Tests\Tests\bin\Debug\net4.8\Tests.exe'. Symbols loaded.
'Tests.exe' (CLR v4.0.30319: Tests.exe): Loaded 'C:\Users\TH-003_PC\source\repos\Tests\Tests\bin\Debug\net4.8\Execution.dll'. 
'Tests.exe' (CLR v4.0.30319: Tests.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\netstandard\v4.0_2.0.0.0__cc7b13ffcd2ddd51\netstandard.dll'. Cannot find or open the PDB file.
'Tests.exe' (CLR v4.0.30319: Tests.exe): Loaded 'C:\Users\TH-003_PC\source\repos\Tests\Tests\bin\Debug\net4.8\PX.QA.Tools.dll'. 
'Tests.exe' (CLR v4.0.30319: Tests.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Symbols loaded.
'Tests.exe' (CLR v4.0.30319: Tests.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Symbols loaded.
'Tests.exe' (CLR v4.0.30319: Tests.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Symbols loaded.
Exception thrown: 'System.NotSupportedException' in mscorlib.dll
Exception thrown: 'Core.Exceptions.ExecutionException' in Execution.dll
'Tests.exe' (CLR v4.0.30319: Tests.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll'. Symbols loaded.
'Tests.exe' (CLR v4.0.30319: Tests.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Symbols loaded.
'Tests.exe' (CLR v4.0.30319: Tests.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll'. Symbols loaded.
The program '[2480] Tests.exe' has exited with code 100 (0x64).

 

 

Am I missing any references.. Please help on this  
Thanks.

Best answer by AaronB

Hi Girik,

 

Please ensure you are using the latest documentation found inside the git project

https://github.com/Acumatica/Test-SDK-Starter-Guide/blob/master/ISVTestSDK/ISVTestSDK.csproj

In the guide, please ensure you have it set to net48, not net4.8, also make sure you have the debugger tools from the AcumaticaERP installer to resolve missing PDB issues if they persist after updating the .net version

 

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

3 replies

AaronB
Varsity II
Forum|alt.badge.img+1
  • Varsity II
  • 30 replies
  • Answer
  • August 9, 2022

Hi Girik,

 

Please ensure you are using the latest documentation found inside the git project

https://github.com/Acumatica/Test-SDK-Starter-Guide/blob/master/ISVTestSDK/ISVTestSDK.csproj

In the guide, please ensure you have it set to net48, not net4.8, also make sure you have the debugger tools from the AcumaticaERP installer to resolve missing PDB issues if they persist after updating the .net version

 


Forum|alt.badge.img+1
  • Author
  • Pro I
  • 59 replies
  • August 10, 2022

Hi Aaron.I am able to open the screen..Inserting records is not Executing..While Debug above popup is showing.


AaronB
Varsity II
Forum|alt.badge.img+1
  • Varsity II
  • 30 replies
  • August 12, 2022

Hi @girik06 
TestRunner.cs is inside the Execution Nuget package that you must add to the solutions dependencies. 

Note the packages are version specific and need to match the website version you are running on

See steps 2-6 from the following guide for exact instruction

https://github.com/Acumatica/Test-SDK-Starter-Guide/blob/master/ISVTestSDK/How%20to%20Start%20or%20Upgrade%20a%20Test%20SDK%20Project.docx

 


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