Unhandled UI: ReportData
My Codeunit use test report [Test] [HandlerFunctions('RHGeneralLedgerReport')] procedure GeneralLedgerReport() begin Report.Run(Report::"DIC General Ledger", true, false); end;
[RequestPageHandler]
procedure RHGeneralLedgerReport(var GeneralLedgerPage: TestRequestPage "DIC General Ledger")
begin
GeneralLedgerPage."From Date".SetValue(WorkDate());
GeneralLedgerPage."To Date".SetValue(WorkDate());
GeneralLedgerPage."Document No.".SetValue('OTH-1712-00001');
GeneralLedgerPage.Preview().Invoke();
//GeneralLedgerPage.SaveAsXml();
end;

When run CAL Test tool return result Fail

Help me with this proplem Thanks
Hi @chiecnhanco, I just tried something similar on another report and could not reproduce the error you had. Can you send us a repro also including the report object that you are using?
You can use a "ReportHandler" additionally because you are previewing the report and Test Automation does not allow you to check the UI.
Thanks for support.