Regression Test

Advanced > Testing > Regression Test

Introduction

This tool is used to run regression test for SimLab using scripts in batch mode (Python, Jscript, XML & SLS).

Sample script will be loaded by default. User can point to their own scripts repository and run the test.

Description

  • Scripts repository: Browse and select the root folder where all the test scripts are available.
  • Search Options
    • File Type: Select the required script format (python-"py", Java script-"js", XML-"xml", SimLab script-"sls")
    • Search by folder name: This option is used to search scripts from specific folders present in the repository. Use semicolon ";" to specify multiple folder names.
    • Search by function name: This option is used to search scripts based on specified function names. Use semicolon ";" to specify multiple function names.
  • Search: Click on search button to find the scripts from the repository based on search inputs.
  • Search Results: The searched scripts will be listed as a tree structure with a checkbox. Users can choose the required scripts.
  • Import / Export: User can export the selected scripts as spec file(.json). Later it can be imported to run the same test again.
  • Run Options
    • Set cores to run script in parallel: Specify the number of physical cores to run the selected scripts in parallel. By default, it is set to one core.
    • Delete existing log files: This option will delete the existing script log file present in the script location. This will avoid appending the log in the same file again.
    • Open report after completion: This option will automatically open the report once the test gets completed.
    • Run in current SimLab session: This option will run the selected scripts one by one in the current GUI session.
  • View Report / Status: This option is used to view the report after completion or to view the status while running.

Report Format