HTBasicModule.WorkingDirectory
- Updated2025-07-21
- 1 minute(s) read
HTBasicModule.WorkingDirectory
Syntax
HTBasicModule.WorkingDirectory
Data Type
Use the following constants with this data type:
- HTBasicWorkingDir_AdapterDefault –(Value: 0) Use the setting specified for the HTBasic Adapter.
- HTBasicWorkingDir_DoNotChange –(Value: 1) Do not change the working directory for the HTBasic server.
- HTBasicWorkingDir_HTBasicServer –(Value: 2) Use the directory in which the HTBasic server is located.
- HTBasicWorkingDir_Specify –(Value: 4) Use the directory specified in the HTBasicModule.WorkingDirectorySpecifiedPath property.
- HTBasicWorkingDir_SubroutineFileDir –(Value: 3) Use the directory in which the subroutine file is located.
Purpose
Specifies whether the adapter sets the working directory of the HTBasic server before invoking the subroutine of the module.
Remarks
Set this property if the test code assumes a particular working directory path . The default value of this property is HTBasicWorkingDir_AdapterDefault . If this property has the value HTBasicWorkingDir_Specify , ensure the HTBasicModule.WorkingDirectorySpecifiedPath property contains a path that specifies the desired working directory.