microsoft / EasyRepro

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

[HOW-TO] Set Status Reason on a BPF #1259

Open VictoriaBogdevici opened 2 years ago

VictoriaBogdevici commented 2 years ago

I have a BPF and it's last step is to change the status reason from Planning to Scheduled. I've tried setting it: xrmApp.BusinessProcessFlow.SetValue(new OptionSet() { Name = "statuscode", Value = "Scheduled" }); When I inspect the element, it's not an option set but rather a combobox/picklist statuscode.fieldControl-pickliststatus-comboBox_text-value

Is there a different approach?