sushma_n
14 years agoNew Contributor
Automation of Comparison of Reports in a Delphi Application
Hi,
I have to automate the comparison of two Reports which are part of my DELPHI Application using TestComplete. One Report is an SQL Report and the other is an ADVANTAGE Report. The Reports are generated using RBBuilder.
TestComplete is unable to identify the text within the generated Report.
I have tried using the Regions.AddPicture and Regions.Compare. However, there are Date and Time Stamps within the Report due to which, I cannot go in for Regions.Compare. Although the content of the Reports are the same, the Reports will never match as the Date and Timestamps are different. I also tried to use the Transparent Parameter in order to exclude the Date and Time Stamps during comparison. However, since we have to generate the Reports dynamically and compare them, adding transparencies also is not feasible.
Please let me know if there is an alternative method to automate the comparison of these Reports, or if I am missing anything.
Thanks and Regards,
Sushma.
I have to automate the comparison of two Reports which are part of my DELPHI Application using TestComplete. One Report is an SQL Report and the other is an ADVANTAGE Report. The Reports are generated using RBBuilder.
TestComplete is unable to identify the text within the generated Report.
I have tried using the Regions.AddPicture and Regions.Compare. However, there are Date and Time Stamps within the Report due to which, I cannot go in for Regions.Compare. Although the content of the Reports are the same, the Reports will never match as the Date and Timestamps are different. I also tried to use the Transparent Parameter in order to exclude the Date and Time Stamps during comparison. However, since we have to generate the Reports dynamically and compare them, adding transparencies also is not feasible.
Please let me know if there is an alternative method to automate the comparison of these Reports, or if I am missing anything.
Thanks and Regards,
Sushma.