Ginger-Automation / Ginger

Ginger Automation IDE
https://ginger.amdocs.com
Apache License 2.0
94 stars 62 forks source link

Sequence contains no matching element when generating report #3703

Closed x-vii03 closed 6 months ago

x-vii03 commented 6 months ago

Describe the bug After a successful test execution run and generate report has been trigger, this error is returned:

RunNewHtmlReport,error :System.InvalidOperationException: Sequence contains no matching element at System.Linq.ThrowHelper.ThrowNoMatchException() at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate) at Amdocs.Ginger.CoreNET.Logger.WebReportGenerator.RunNewHtmlReport(String reportResultsFolderPath, String runSetGuid, WebReportFilter openObject, Boolean shouldDisplayReport) in D:\a\Ginger\Ginger\Ginger\GingerCoreNET\Logger\WebReportGenerator.cs:line 99

To Reproduce Steps to reproduce the behavior:

  1. Go to Business Flow Automate
  2. Click on Run Flow
  3. Click Generate report

Expected behavior Report is generated and automatically opened in new browser

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context RunNewHtmlReport,error :System.InvalidOperationException: Sequence contains no matching element at System.Linq.ThrowHelper.ThrowNoMatchException() at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate) at Amdocs.Ginger.CoreNET.Logger.WebReportGenerator.RunNewHtmlReport(String reportResultsFolderPath, String runSetGuid, WebReportFilter openObject, Boolean shouldDisplayReport) in D:\a\Ginger\Ginger\Ginger\GingerCoreNET\Logger\WebReportGenerator.cs:line 99

x-vii03 commented 6 months ago

Issue has been resolved.