Skip to main content
Question

Modern UI support in 2026R1 TestSDK

  • February 12, 2026
  • 1 reply
  • 65 views

I created the wrapper using the 2026 R1 TestSDK. I tried running the test automation suite, but I’m unable to execute the tests. I reviewed the 2026 R1 TestSDK documentation and found only a single mention of “Modern UI,” without any additional guidance.

Also, the Test Automation GitHub repository/sample project appears to be about two years old, and there haven’t been any updates to the sample test project.

We run the test automation suite and submit the results for certification. Could you please confirm whether Acumatica supports Modern UI automation with the 2026 R1 TestSDK? If it is supported, is there a specific setup, configuration, or recommended approach required to run tests against the Modern UI?

If Modern UI automation is not supported (or not required yet), can we submit the legacy/classic UI automation results for certification, and will that be considered acceptable/compliant?

1 reply

  • Jr Varsity I
  • May 4, 2026

Hello.

It is definitely possible to have Automation Testing on Modern UI. You just need to generate the wrappers in the specific way. For Classic UI we use ClassGenerator.exe and ClassGenerator.exe.config. Although the documentation provides very limited information, I could understand how I should generete the wrappers for Modern UI.

So, the wrappers for Modern UI should be generated by .NET Console Application Core project. References in .csproj file should also be added.

<ItemGroup>

      <PackageReference Include="Execution" Version="25.201.213.220" />

      <PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" />

      <PackageReference Include="PX.QA.WrappersGenerator" Version="25.201.213.220" />

</ItemGroup>

 

It also requires the nuget package to be installed. You can use this command to install it. Please also pay attention on the version.

Install-Package Microsoft.Bcl.AsyncInterfaces -Version 5.0.0

 

In Your new console application create a new class which will contain the method to generate the Wrappers. The arguments of the method would specify the Acumatica instance URIusernamepasswordtenantwrapper’s code namespacepath of the generated fileslog result information and error response. In this code I specified the Automation Testing project itself as the destination of the generated wrappers. It is important to ensure the screen is in Modern UI view for the user account provided in the credentials. Here is the template example of the code, with some explanations of the package usage.


internal class WrappersGenerator
{
public static void MethodGenerator()
{
//WG is available in PX.QA.WrappersGenerator
//Log and its methods are available in Execution
var wg = new WG("http://localhost/PayPal_25_201_0213", "admin", "psw1234", "Company",
"WrappersModernUI",
"C:\\Users\\vachagan.mirzoyan\\source\\repos\\TestPaypal_25_201_0213\\TestPaypal_25_201_0213\\WrappersModernUI",
_ => Log.Information(_),
_ => Log.Error(_));

wg.RunAsync("BZ501001").Wait();
}
}

 

The Web.config file of Acumatica instance may require this to be added in <appSettings> section.

<add key="EnableSiteMapSwitchUI" value="True" />

 

The remaining steps of the using the Wrappers, are the same. Have Your own custom class derived from the generated wrappers, and use the UI element via Your custom class.

I could automatically insert value into the Modern UI fields via this approach.
Please let me know if this helps You.