Managing Test Runs

PDF Print E-mail
User Rating: / 2  |  Rate this article: PoorBest 

For the purpose of this tutorial, the current project has previously been run three times. The individual runs were started 09:43, 11:04 and 11:42 respectively.

1. View previous test runs

To see previous test runs of a project, click the Previous test runs button in the Statistics Tab. This will open the following window:

manageTestRuns1

2. Archiving a test run

Having a list of automatically saved recent test runs can be handy, but since LoadUI only saves a limited number of results automatically (before deleting the oldest one) you should know that you can archive test runs. Archiving a test run will not just prevent LoadUI from ever deleting it, but also lets you rename it for easier access.

If you want to archive a test run, simply drag and drop it from the Recent test runs container to the Archived test runs container. You don’t have to rename the test run, but we encourage it since it’ll make it easier to find it later on. Renaming is almost as easy; just click the text on the test run's top border and click Rename:

renameArchivedResultMenu

After archiving and renaming one of the recent Results, the Results view will look something like this:

manageTestRuns2

3. Change settings

Enter the global settings dialog by clicking the LoadUI logotype in the upper-left corner, and then clicking Settings:

globalMenu

From the Statistics tab of this dialog you can specify where in the file system you want test runs to be saved and how many test runs LoadUI should automatically save per project, before deleting the oldest unarchived test run.

The current test run will however always be be saved to disk regardless of this setting, since the Statistics Tab requires disk data to function . If you are willing to sacrifice the Statistics Tab on the altar of disk space, provide this command line option to LoadUI:

-Dloadui.statistics.disable=true

4. Moving test runs between computers

Test runs are by default stored in directories in [user home]/.loadui/results. The directory name for a test run consists of the project name and the date of the test run, e.g. Project_1_2013-09-19_181414-802. To share a test run, simply copy this directory (along with the project file found in [user home]/.loadui).