How to Automatically Attach the Consolidated Test Results Summary and Module-wise Reports to Emails

Modified on Tue, 10 Sep at 11:10 AM

 

TABLE OF CONTENTS

1. Overview 

1.1. Configuring Application Settings file

1. Overview 


After script execution, the reports generated will be attached to the recipient's email automatically to display consolidated test results summary, highlighting passed test cases and failed test cases.
This article provides the consolidated test results summary provides users with a comprehensive overview of the test results from multiple reports in one place. Instead of having to review each individual report separately, users can conveniently access all the information summarized in a single document.

1.1. Configuring Application Settings file

To address this, perform the following:

  1. algoQA scripts generated follow an organized folder structure. Search and locate the ApplicationsSettings.XML file. Copy and paste the ApplicationsSettings.XML file to the location where POM and Report.exe files are located.

  2. In the ApplicationSettings file, update the 'To email',  'From Email' and 'From Password' parameters as shown in the following example screenshot.
    For example, you can find Applications.XML file in an algoQA script generated folder for a web automation available at - ScriptGeneration_202310311222.zip\AlgoAFScript_202310311222\src\test\java.

  3. To open the command prompt from the same location where the POM, Applications.XML and Report.exe files are located in the folder, type 'cmd' in the same address bar. Then, run the following command:
    algoReport.exe JUnitSpark Summary "file path"
    Make sure to update the summary file path with the actual path. The full path must be specified within the quotes.

    Note: If the size of the generated script file is more than 24.5 MB, the recipient will only be able to view the execution summary report. If the size of the generated script file is less than 24.5 MB, you will be able to view the execution summary report along with the actual report.

    The following screenshot represents an example execution summary report providing an overview of the consolidated testing results.




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article