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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Performance testing for DMF using perfSDK error

(0) ShareShare
ReportReport
Posted on by 30

I want to automate data export from data entity from DMF using perfSDK. I create recording of scenario using task recorder and exported XML file for task recording. When i load xml file on perfSDK project and build project it gets failed.  it give type casting error.

"Cannot implicitly convert type 'Microsoft.Dynamics.TestTools.Dispatcher.Client.DispatchedForm' to 'MS.Dynamics.TestTools.DispatcherProxyLibrary.ApplicationForms.DataManagementWorkspaceDataProjectsFormPart'. An explicit conversion exists (are you missing a cast?) PerfSDKSample"

pastedimage1596471779364v2.png

I tried to change DataManagementWorkspaceDataProjectsFormPart type to DispatchedForm as "DataManagementWorkspaceForm.DataManagementWorkspaceDataProjectsAllProjects.OpenFormPart()" return object of "DispatchedFrom" type.  Doing this error is removed but when we run test case it gets failed and give error.

"Test method MS.Dynamics.Performance.Application.TaskRecorder.IntegratinPerfTestOneSourcePurchaseBase.IntegratinPerfTestOneSourcePurchase threw exception:
System.NotSupportedException: The control does not support the property FormName"

pastedimage1596472283213v3.png

I have the same question (0)
  • Blue Wang Profile Picture
    on at

    Hi Hassan Naviwala ,

    What is your test case? Try to switch test cases.

  • Hassan Naviwala Profile Picture
    30 on at

    It's simple test case:

    open dmf, search for project created for data export and click on run project.

  • Tomj1977 Profile Picture
    5 on at

    Did you ever resolve this issue ? Im facing the same, the test will run under a single user scenario but not for multi

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans