microsoft / EasyRepro

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

Unable to open entity type record for subgrid using XrmApp.Entity.SubGrid.OpenSubgridRecord() when first column within subgrid view is of lookup type. #1304

Open rashish12 opened 2 years ago

rashish12 commented 2 years ago

When attempting to open a related record via a subgrid for a given index and the first column within the subgrid view is of type lookup; the entity type associated to the lookup is opened and not the entity type for the subgrid.

For example, the following image shows a list of related Addresses. When we attempt to open the row via OpenSubGridRecord() a double-click action occurs on the second cell containing a hyperlink to a related Contact record as highlighted in the image. This results in the Contact record being displayed and not the Address.

image