microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
521 stars 288 forks source link

[BUG] GetSubgridItems not returning any attributes #1236

Open JakeObrienMercuryXrm opened 2 years ago

JakeObrienMercuryXrm commented 2 years ago

Bug Report

EasyRepro Version

UCI or Classic Web

Online or On Premise

Browser

Describe the bug
When using the xrmApp.Entity.SubGrid.GetSubGridItems("candidateactivities") function there are never any attributes being returned as expected. When called I can see that the count is correct, I have two items in my subgrid with 8 columns/attributes populated.

Special formatting / display
No

Code to reproduce

List subgrid = xrmApp.Entity.SubGrid.GetSubGridItems("candidateactivities"); foreach(GridItem gridItem in subgrid) { }


 -->

**Expected behavior**  
The attributes should be populated from the subgrid so that they can be asserted against to ensure the correct data is displayed in the grid.

**Screenshots**  

![image](https://user-images.githubusercontent.com/59575810/141087326-8af979b0-49de-4778-acf2-d489571b8160.png)
![image](https://user-images.githubusercontent.com/59575810/141092027-38a93706-3f19-43ae-99a5-5115ddb52f16.png)
arnoldnemedi commented 1 year ago

Was this bug fixed?