Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Regression suite autom...
Finance forum
Answered

Regression suite automation tool (RSAT) fails generating new test artifact

Posted on by 26
Hello Folks,

While trying to generate test execution files for my test cases, RSAT returns this error message for each of my test cases : 

/test case name/
System.Data.ObjectNotFoundException: The XppCodeGeneratorConsoleApp.exe cannot be found by path .//Microsoft.Dynamics.XppCodeGeneratorConsoleApp.exe
   at Microsoft.Dynamics.RegressionSuite.CodeGeneratorHelper.CreateTestFiles(TestCaseModel testCase, String recordingFile, String outputPath, String companyName, Logger logger, Boolean isCreateDerivedAction)
   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()

I have only partially set up the Finance & Operations environment in the settings but the error does not seem to be coming from that. 
RSAT version : 2.6.16196.59

Question : Has anyone also stumbled on that error ? How can I work around that ? 

Thanks in advance.
  • Verified answer
    CH-06051204-0 Profile Picture
    CH-06051204-0 26 on at
    Regression suite automation tool (RSAT) fails generating new test artifact
    Hi S Gopi Krishna and Kevin Xia, 

    Deleting and reloading the tests seem to have done the job, they are loaded correctly and work as expected. 
    I followed the installation instructions. 

    Thanks to the both of you !
  • S Gopi Krishna Profile Picture
    S Gopi Krishna 268 on at
    Regression suite automation tool (RSAT) fails generating new test artifact
    Manually delete the test artifact files from the RSAT folder of the device and reload the test case to create a new copy. Then, generate the test execution files.
  • Suggested answer
    Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    Regression suite automation tool (RSAT) fails generating new test artifact
    Hi,
    You can refer to this official document: Regression suite automation tool installation and configuration - Finance & Operations | Dynamics 365 | Microsoft LearnThis article contains information about how to install and configure the Regression suite automation tool (RSAT). There may be some problems with your installation and configuration.
    Best regards,
    Kevin

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans