microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
513 stars 286 forks source link

[HOW-TO] Use the Project Ops Test Script #1424

Open leh-fabros opened 3 days ago

leh-fabros commented 3 days ago

Question

Has anyone successfully executed the tests under the Project Ops, particularly the Create Project Contracts with both the Project Contract Line and Product Contract Line?

I tried running it, but an error message about missing object reference that stops it. I may be just missing a step or configuration and hope someone here can point me in the right direction.

Thank you.

leh-fabros commented 2 days ago

I was able to go past the missing object roadblock by updating the EasyPro.runsettings parameter values but I am now receiving a different error message.

Test method Microsoft.Dynamics365.UIAutomation.Sample.ProjectOps.CreateBookableResource.ProjectOpsTestCreateBookableResource threw exception: 

System.InvalidOperationException: No process is associated with this object.

Hoping to hear from someone who has successfully ran ProjectOps test.