Skip to main content

Notifications

Announcements

No record found.

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 4
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 :)
 
 
  • Suggested answer
    Kevin Xia Profile Picture
    Kevin Xia 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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,622 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans