Audit Log

Audit Log Overview

The Audit Log is a feature in Functionize that displays the change history for each test and page object. This feature lets users track how these assets were edited and executed over time. It provides information about which users interacted with the asset and includes timestamps for each activity. Additionally, the Audit Log enables users to restore a test to a previous iteration. This feature is valuable for maintaining a record of testing activities for audit purposes.

Your test cases may undergo many changes as you work out the best sequence to follow for your site. Functionize offers two options to restore your test:

  • Restore Test Case
  • Restore to New Test Case

Note: Not all entries in the Audit Log table can be restored, for example, if the Change column indicates some type of test execution - Live Execution, Headless Run, etc. These will be seen if the filter for Group By is set to Test Run.

Audit Log Filters

This feature allows filtering and downloading data based on specified dates and/or editors.

Steps to Use Audit Log Filters

  1. Open Test Detail Page: Open a test to the Test Detail page.
  2. Access Audit Log: Open the Settings menu and select Audit Log.
  3. Apply Date Filter: Select the start and end dates to filter by date.
  4. Select Editor: Choose a specific user from the Select Editor dropdown field.
  5. Select Action Type: Choose a specific action type from the Group By dropdown field (e.g., Test Run, Delete Action, Test Setting, Title Change, Add Action, etc.).
  6. Export CSV: Click the Export CSV button to download the filtered data for future sharing.

Viewing Filtered Data

  • After downloading, open the CSV file to view the data specified by the filters when the file was exported.

Restore Test Case

This feature allows restoring your test to a previous iteration/version.

Steps to Restore Test Case

  1. Open Test Detail Page: Open a test to the Test Detail page.
  2. Access Audit Log: Open the Settings menu and select Audit Log.
  3. Select Version: Choose the version of the test to restore and click on it.
  4. Restore: Review your selection and click Restore.
  5. Confirmation: A confirmation message will display, and your test will revert to the selected point in time.
  6. Refresh Audit Log: Refresh the Audit Log screen to see the restoration added to the log.

Restore to New Test Case

This functionality allows reverting a test case to a previous version while maintaining the current version.

Steps to Restore to New Test Case

  1. Open Test Detail Page: Open a test on the Test Detail page.
  2. Access Audit Log: Open the Settings menu and select Audit Log.
  3. Select Version: Choose the version of the test to restore and click on it.
  4. New Test Case: Check the Restore to new test case checkbox.
  5. Enter New Name: Enter a new test case name in the New Test Case Name field and click the Restore button.
  6. Confirmation: A confirmation message will display, and your test will revert to the selected point in time.
  7. Test Case Listing Page: Navigate to the Test Case Listing page to see the new restored test case.

Preview

This feature allows users to view the version of the test case they wish to revert to before making any modifications.

Steps to Preview

  1. Open Test or Page Object: Open a test on the Test Detail page or a Page Object Detail page.
  2. Access Audit Log: Open the Settings menu and select Audit Log.
  3. Select Version: Choose the version of the test or Page Object to restore and click on it.
  4. Preview: Click the Preview button.
  5. Review: Review all actions, settings, and instructions in that particular audit log entry.
    • Slider View: View screenshots captured during the time of recording.
      Note: This is a Preview page; actions and test settings cannot be edited from this page.

Steps to Restore from Preview

  1. Restore: In the Preview section of the Test Case Audit Log, click Restore to revert to the selected point in time.
  2. Restore to New Test Case: Check the Restore to new test case checkbox, enter the new test case name, and click Confirm.

  3. Confirmation: A confirmation message will display, and your test will revert to the selected point in time.

By following these steps, you can effectively use the Audit Log feature in Functionize to track changes, filter data, and restore test cases as needed.