Forum Discussion

kumar_doda's avatar
15 years ago

Unable to recognize values in the crystal report in Java application

Hello Support team,


 In the web application which has been developed in Java, there is an option for generating reports. There are two kinds of reports one is crystal report & the other one is text based report. Controls inside the report are identified by TestComplete, but the values are not.

The crystal report can be saved to xml, xls formats. The data which is exported to XML / XLS does not export in a tabulated way.

After exporting the reports to xml/ xls format, is there a way to access the values from xml or xls format so that validation of the data can be done.



Attachments include screenshot of the crystal report (Open call Report.JPG), exported file- "Open calls report.zip".



Waiting for your quick response..



Thanks & Regards 

Pavan



1 Reply

  • Hello Pavan,




    There is no way to access fields inside report forms as TestComplete does not have special support for Crystal Reports. The structure of the XML file you attached is too complex for parsing. So, I recommend that you save your report to an XLS file and read it using the DDT feature. Please refer to the "Using DDT Drivers" and "DDT.ExcelDriver" help topics for details