web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

RSAT: Getting exception when generating Test Execution files (after tool update to latest version)

(1) ShareShare
ReportReport
Posted on by 5
Hi all,
 
After the upgrade of RSAT tool to a newer version I had to re-generate the Test Execution files for my RSAT test cases.
Some of my Excel parameter files contain formulas to generate unique values that will be used as input to D365.
Most of the test execution files were generated OK, but I have a couple of cases where generation fails with following exception:
 
System.Exception: <formula>formula failed processing
   at Microsoft.Dynamics.RegressionSuite.PowerFx.PowerFxService.ProcessNamedCellReference(String variableName, String variableValue, String valueBeforeProcessing, Boolean isFirstLoad, String format, Boolean enableCustomExcelFormatting)
   at Microsoft.Dynamics.RegressionSuite.PowerFx.PowerFxService.EvaluateWithEngine(String variableName, String variableValue, String format, Boolean enableCustomExcelFormatting, Boolean isFirstLoad)
   at Microsoft.Dynamics.RegressionSuite.PowerFx.PowerFxService.RunTestSteps(String xmlPath)
   at Microsoft.Dynamics.RegressionSuite.CodeGeneratorHelper.ProcessXml(TestCaseModel testCase, String outputPath, String companyName, Boolean generateOnlyTestExecution, Boolean migrateUserParameters, Boolean isCreateDerivedAction)
   at Microsoft.Dynamics.RegressionSuite.WpfApp.Services.AttachmentGenerator.<>c__DisplayClass20_1.<<GenerateParentWithDerivedTests>b__1>d.MoveNext()
 
A couple of examples for the Excel formulas in qestion are below:
= /ST25/ & WEEKNUM(TODAY()) & /-A1225/
output is shown OK in excel file itself as /ST2510-A1225/
 
= /A25-/ & TEXT(NOW(), /hh:mm/) &/ / & TEXT(TODAY()+365, /dd.mm.yyyy/)
output is shown OK in excel file itself as /A25-17:02 07.03.2025/
 
This approach worked perfectly in the previous version but fails now. I did check list of supported PowerFx formulas and examples of their usage but still cannot identify the way how to fix the issue.
 
Would be really grateful if somebody can help me out with this :)
 
 
I have the same question (0)
  • Suggested answer
    Kevin Xia Profile Picture
    Microsoft Employee on at
    RSAT: Getting exception when generating Test Execution files (after tool update to latest version)
    Hi,
    • You can verify that the PowerFx formula you are using is still supported in the RSAT update. There may be syntax changes or new requirements in the updated version. Or you can check the string type. It is possible that your string type is set incorrectly.
    Best regards,
    Kevin

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 683 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 620

#3
Martin Dráb Profile Picture

Martin Dráb 563 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans