If a program name is entered, LiveCoverage will launch that program when test coverage is started with the Start command on the Test menu. The start program can be an executable file in the project, or it can be another program that will eventually cause an executable file to run. A full path name for the start program must be given. Any arguments on the command line after the start program path name are passed on to the start program. The start program will be started in the folder given in the Initial Folder field, or if that field is empty, in the folder in which the start program file resides.
This field is optional and may be left blank if the Listen for instrumented executables option of this dialog is selected. If Listening is not selected, this field is required.
LiveCoverage will monitor the start program and all its descendents for test coverage as long as they are all 32-bit programs. For example, on Windows NT the start program could be CMD.EXE starting a batch file which runs a Visual Basic program which then uses its Shell statement to actually start an executable file in the project.
Note that, on Windows NT/2000, the command line processor CMD.EXE is a 32-bit program, and so can be used to run batch files or other internal commands. On Windows 95/98, however, the command line processor COMMAND.COM is a 16-bit program and cannot be used as the start program or one of its descendents.
At the right end of this text box is a button labeled "...". Activating this button will prompt you with a File Open dialog which can be used to select a file name that will be entered into the text box. This text box will also accept a drag and drop file or folder name from Windows Explorer.
Environment variables may be used within the file name.
You may enter the initial folder in which the start program will execute into this field. If this field is left empty, the start program will start in the folder where it resides.
This text box will accept a drag and drop file or folder name from Windows Explorer.
Environment variables may be used within the folder name.
This field contains the name of the LiveCoverage project file that will be used the next time the Save Project command on the File menu is used. If this field is blank, the Save Project command will prompt for a file name.
At the right end of this text box is a button labeled "...". Activating this button will prompt you with a File Open dialog which can be used to select a file name that will be entered into the text box. This text box will also accept a drag and drop file or folder name from Windows Explorer.
If this box is checked, LiveCoverage will "listen" for instrumented executables while coverage monitoring is in progress. If an instrumented executable is started, LiveCoverage will attach to its process and monitor it for any executable file in the project.
If this box is not checked, LiveCoverage will ignore instrumentation. Instead, it will monitor the start program given in the Command Line field, as well as all of its children.