microsoft / EasyRepro

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

when there is no records in grid _xrmApp.Grid.OpenRecord(0); function should throw an error but this is not happening. #607

Open praveenKumarCh opened 5 years ago

praveenKumarCh commented 5 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

Special formatting / display

Code to reproduce

Expected behavior

Screenshots

Additional context

pieterh commented 5 years ago

either returning a bool indicating success/failure or an exception. It looks like that the RelatedGrid (OpenGridRow) throws an exceptoin : throw new InvalidOperationException($"No record with the index '{index}' exists.");