microsoft / EasyRepro

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

[BUG] Unable to click on the Related grid in a record #1251

Open VikramKurri opened 2 years ago

VikramKurri commented 2 years 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
unable to click on the related grid in a record.

OpenQA.Selenium.NoSuchElementException: 'no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='grid'][@data-id='grid-cell-container']"}

Special formatting / display

Code to reproduce
xrmApp.RelatedGrid.OpenGridRow(0);

xrmApp.RelatedGrid.OpenGridRow(0);

-->

Expected behavior

Screenshots

Additional context
Able to click on the main grid, but unable to click on the related grid in a record.

VikramKurri commented 2 years ago

@aliyoussefi - opened this defect based on our discussion - Please check it.

jaithunsheik commented 2 years ago

It worked by doing below changes @VikramKurri and @aliyoussefi image