microsoft / EasyRepro

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

[HOW-TO] <Switch to other subgrid inside My Dashboard> #1322

Open jeffreyperater opened 1 year ago

jeffreyperater commented 1 year ago

Question

I have 4 subgrids into My Dashboard

Subgrid1, Subgrid2, Subgrid3, and Subgrid4 I look for a solution on how to switch to other subgrid.

Right now, my solution is to check the xpath for subgrid 2 but whenever I use xrmApp.Grid.OpenRecord(0) to open a record, it will open the record for subgrid1 instead of subgrid2.

Thanks in advance.