Save and load captured test reports

The previous subsection Capture test reports explained how reports in Ladybug can be captured. Captured test reports can be run any time, allowing you to do regression tests. This section explains how to save test reports to your laptop and how to upload saved tests again.

Please do the following:

  1. Ensure that the Frank!Framework is set up according to Preparations and that it is running. Go to Ladybug. Ensure that the report generator is enabled. See Windows or Linux.

  2. Ensure that you have captured test reports in tab “Test”. If not, you can redo subsection Capture test reports.

  3. Go to tab “Test”. Press “Download all” (number 2 of the picture below):

    ../../../_images/successfulRun.jpg
  4. A save file dialog appears allowing you to save a zip file. Press OK.

  5. Go to your Downloads folder and sort by creation date to see the downloaded file.

  6. Stop the Frank!Framework. You will restore your captured reports soon.

  7. Sometimes the Frank!Framework saves test reports automatically, but you can not rely on this. In this tutorial we make sure that all captured test reports are lost, such that we can properly demonstrate uploading. Remove the build directory within your frank-runner directory. This will delete all data from previous runs of the Frank!Runner.

  8. Restart the Frank!Framework.

  9. Browse to http://localhost.

  10. Click “Testing”:

    ../../../_images/frankConsoleFindTestTools1.jpg
  11. Click Ladybug and tab “Test”.

  12. There are no tests, see picture:

    ../../../_images/ladybugUpload.jpg
  13. Press Upload.

  14. A dialog appears. Select your saved zip file and upload.

  15. Your saved test report should be back:

    ../../../_images/uploadedSuccessfully.jpg