microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
512 stars 285 forks source link

[BUG] Setting value on Subject field on Case entity (tree-view type) #1398

Open nivedhakumarF5 opened 7 months ago

nivedhakumarF5 commented 7 months ago

Bug Report

Issues should only be created for items related to covered functionality.

Not covered functionality, feature requests, and questions should use the Feature Request or Question templates.

EasyRepro Version

UCI or Classic Web

Online or On Premise

Browser

Describe the bug
As part of the test case, I would need to populate the Subject field on the case form. I was using the LookupItem but it wasn't populating successfully, I assume it's because this field is a Tree-view control and some properties are rendered differently in the UI, any approach on how to handle this?

Special formatting / display

Code to reproduce
xrmApp.Entity.SetValue(new LookupItem { Name = "subjectid", Value = "Order" });

Expected behavior

Screenshots

Additional context