(DV-2008) Validate test plan Housekeeping report
This report serves as a tool for convenient deletion of not needed Test Plans from Validate.
On the selection screen the user should define:
Retention period - the number of days there wasn't any activity in the selected runs to be deleted. If there was any activity (i.e. execution of any subtask in the run) since the defined retention period the run wont be deleted.
RunID - range of RunIDs to be deleted.
Run in test mode - if this is enabled, the report wont delete any test plans from the database; just write the logging info about the would be deleted test plans. This is enabled by default to prevent accidental deletion.
After execution of the report there is logging info shown about the deleted test plans; containing a header section with the general info about the whole housekeeping report run and a section containing info about each deleted test plan. The logging info for running in test mode is shown bellow:
And for real mode its very similar:
If the report doesn't find any RunID to delete it shows an error message: