Please enable JavaScript to view this site.

Bug Validator Help

Navigation: Command Line Interface

Command Line Reference

Scroll Prev Top Next More

 

Command line reference

 

The following alphabetical list provides a convenient look-up for all the command line arguments used in automated regression testing.

 

Option

 

Description

-?

Print command line help on the standard output.

-allArgs

Pass the remainder of the command line to the program being launched.

-arg

Pass command line arguments to the target program. Can be used multiple times.

-collectData

Turn data collection on or off

-collectStdout

Turn collection of stdout on or off

-commandFile

Specify a file from which to read the command line arguments.

-directory

Set the working directory in which the program is executed.

-displayUI

Force the Bug Validator user interface to be displayed during the test.

-dllHookFile

Points to a file listing the DLLs to be hooked for the test.

-doNotInteractWithUser

Never display dialog boxes in the target application that is being profiled.

-echoArgsToUser

Show the arguments that were supplied to the program.

-environment

Environment variables for program, as a series of name/value pairs

-exportAsHTML
-exportAsXML

Export the session data as an HTML or XML file when Bug Validator has finished collecting data from the target program.

-exportAsHTML_BOM
-exportAsXML_BOM

Specify the file encoding for the exported file

-fileLocations

Specify a plain text file listing file locations to be used during testing. See the format of the file below.

-help

Print command line help on the standard output.

-hideCommandPrompt

Any launched console window will be hidden during the test.

-hideUI

Hide the Bug Validator user interface during the test.

-injectID

Set the numeric (decimal) id of a process for Bug Validator to attach to.

-injectName

Set the name of the process for Bug Validator to attach to.

-launchAppHide

Hide the target application during the test.

-launchAppShow

Show the target application during the test.

-launchAppShowMaximized

Show the target application maximized and activated.

-launchAppShowMinNoActive

Show the target application minimized and activated.

-launchAppShowMinimized

Show the target application minimized and not active.

-launchAppShowNA

Show the target application at current size and position but not activated.

-launchAppShowNoActivate

Show the target application at most recent size and position but not activated.

-launchAppShowNormal

Show the target application at original size and position and activated.

-loadSession

Load a previously created session to be merged with the data from the session being recorded.

-loadSettings

Points to a previously saved settings file to be used for the test.

-monitorAService

Specify the full file system path to the service to monitor, including any extension. The service is not started by Bug Validator but by an external means.

-numSessions

Set the number of sessions that can be loaded at once.

-program

Specify the full file system path of the executable target program to be started by Bug Validator, including any extension.

-programToMonitor

Changes which program the data is collected from but does not change which process Bug Validator initially launches.

-programToMonitorLaunchCount

Specify the nth invocation of the programToMonitor which is to have its data collected.

-refreshSummary

Automatically refresh the Summary once a test is complete.

-resetSettings

Forces Bug Validator to reset (nearly) all settings to the default state.

-saveSession

Save the session data when all data has finished being collecting from the target program.

-sessionLoad

Loads a previously created session to be merged with the data from the session being recorded

-setenvironment

Environment variables for Bug Validator, as a series of name/value pairs

-settings

Points to a previously saved settings file to be used for the test.

-showCommandPrompt

Any launched console window will be shown during the test.

-showErrorsOnCommandPrompt

If an error occurs when launching the application, the error will be reported on the command line.

-showErrorsWithMessageBox

Force errors to be displayed using a message box when running from the command line.

-sourceFileFilterHookFile

Points to a file specifying the source files to be hooked for the test.

-waitName

Name a process that Bug Validator will wait for.

 

 

To run 32 bit bug validator run C:\Program Files (x86)\Software Verify\Bug Validator x86\bugValidator.exe