Ask a Question

Unable to recognize values in the crystal report in Java application

kumar_doda
Not applicable

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 1

RE: Unable to recognize values in the crystal report in Java application

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

--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: