Error Reporter Testing

Error Reporter test

Preparation

  • Ensure that Report usage data is checked in the First Time Setup screen
  • Files SANS2D00005512.nxs; availabe in /Testing/Data/SystemTest/SANS2D, get this by building the SystemTestData target. It should be in in ExternalData/Testing/Data/SystemTest/SANS2D/
  • Make sure the location of these files is included in your search directories. Full instructions are available online.
  • These tests should be run with someone who has access to the error reports database. Please contact Keith Butler when you are going to run these tests.

Time required 10 - 20 minutes


  1. Open MantidPlot
  • Cause a crash by running the Segfault algorithm
  • The error report dialog should pop up
  • Make sure the hyperlink to the privacy policy works
  • Enter some text in the Name box; make sure the Share non-identifiable information button gets greyed out
  • In the Name box enter Private and in the Email box enter private
  • Click the Don’t share any information box
  • Check with the database admin

  1. Open MantidPlot
  • Cause a crash by running the Segfault algorithm
  • The error report dialog should pop up
  • In the Name box enter Public and in the Email box enter public
  • Click the Yes, share information box
  • Check with the database admin

  1. Open MantidPlot
  • Load the file SANS2D00005512.nxs
  • Click on the new workspace group, this should give a list of workspaces
  • Right-click one of the workspaces and select Sample Logs
  • This should cause an error box saying Mantid has thrown an unexpected exception
  • Make sure the hyperlink to the privacy policy works
  • Enter some text in the Name box; make sure the Share non-identifiable information button gets greyed out
  • In the Name box enter Private2 and in the Email box enter private2
  • Make sure the Continue radio button is checked
  • Click the Don’t share any information box
  • You should be returned to the main Mantid window
  • Check with the database admin

  1. Open MantidPlot
  • Load the file SANS2D00005512.nxs
  • Click on the new workspace group, this should give a list of workspaces
  • Right-click one of the workspaces and select Sample Logs
  • This should cause an error box saying Mantid has thrown an unexpected exception
  • Make sure the Continue radio button is checked
  • Click the Share non-identifiable information box
  • You should be returned to the main Mantid window
  • Check with the database admin

  1. Open MantidPlot
  • Load the file SANS2D00005512.nxs
  • Click on the new workspace group, this should give a list of workspaces
  • Right-click one of the workspaces and select Sample Logs
  • This should cause an error box saying Mantid has thrown an unexpected exception
  • Make sure the hyperlink to the privacy policy works
  • Enter some text in the Name box; make sure the Share non-identifiable information button gets greyed out
  • In the Name box enter Public2 and in the Email box enter public2
  • Make sure the Continue radio button is checked
  • Click the Yes, share information box
  • You should be returned to the main Mantid window
  • Check with the database admin

  1. Open MantidPlot
  • Load the file SANS2D00005512.nxs
  • Click on the new workspace group, this should give a list of workspaces
  • Right-click one of the workspaces and select Sample Logs
  • This should cause an error box saying Mantid has thrown an unexpected exception
  • Make sure the hyperlink to the privacy policy works
  • Enter some text in the Name box; make sure the Share non-identifiable information button gets greyed out
  • In the Name box enter Public3 and in the Email box enter public3
  • Make sure the Terminate radio button is checked
  • Click the Yes, share information box
  • Mantid should shut down
  • Check with the database admin