microsoft / EasyRepro

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

[FEATURE] Add functionality to highlight SubGrid record. #1246

Open LAUZONO opened 2 years ago

LAUZONO commented 2 years ago

Describe the feature
In the Grid class, HighLightRecord() allows you to select a record without opening it. I would like to have this functionality available for the SubGrid class.

Explain why this feature is needed
SubGrid only has the functionality to open the specified record but not simply highlight it, and my unit testing is requiring me to select a record and click a SubGrid command related to the selected record.

Additional context
I have successfully modified the code to obtain my desired execution, however, I have not tested it enough that it should be put in a PR. Here are the changes that I made.

EdPh commented 1 year ago

Implemented your change and verified that it works.