OTX-Runtime for Java
|
|
Runs a PTX/PPX file directly. More...
Inherited by OpenTestSystem.Otx.Runtime.Api.RuntimeManagerBase.
Public Member Functions | |
boolean | AddDiagConnectionStateChangedListener (DiagConnectionStateChangedListener listener) |
Add diagnostic connection state changed listener. More... | |
boolean | AddInOutParameterValueChangedListener (InOutParameterValueChangedListener listener) |
Adds ProcedureInOutParameter value changed listener. More... | |
boolean | AddProcedureAbortedListener (ProcedureAbortedListener listener) |
Adds procedure aborted listener. More... | |
boolean | AddProcedureContinuedListener (ProcedureContinuedListener listener) |
Add procedure continued listener. More... | |
boolean | AddProcedureFinishedListener (ProcedureFinishedListener listener) |
Adds procedure finished listener. More... | |
boolean | AddProcedurePausedListener (ProcedurePausedListener listener) |
Adds procedure paused listener. More... | |
boolean | AddProcedurePendingListener (ProcedurePendingListener listener) |
Add procedure pending listener. More... | |
boolean | AddProcedureStartedListener (ProcedureStartedListener listener) |
Adds procedure started listener. More... | |
boolean | AddProcedureStoppedListener (ProcedureStoppedListener listener) |
Adds procedure stopped listener. More... | |
boolean | AddProcedureTimeoutListener (ProcedureTimeoutListener listener) |
Adds procedure timeout listener. More... | |
IRuntimeContext | Execute (IProcedure procedure) |
Executes a procedure synchronously. More... | |
IRuntimeContext | Execute (IProcedure procedure, long timeout) |
Executes a procedure synchronously. More... | |
IRuntimeContext | Execute (String name, IProcedure procedure) |
Executes a procedure synchronously. More... | |
IRuntimeContext | Execute (String name, IProcedure procedure, ExpectedState expectedConnectionState) |
Executes a procedure synchronously at an expected connection state. More... | |
IRuntimeContext | Execute (String name, IProcedure procedure, ExpectedState expectedConnectionState, long timeout) |
Executes a procedure synchronously at an expected connection state. More... | |
IRuntimeContext | Execute (String name, IProcedure procedure, long timeout) |
Executes a procedure synchronously. More... | |
IRuntimeContext | ExecuteAsync (IProcedure procedure) |
Executes a procedure asynchronously. More... | |
IRuntimeContext | ExecuteAsync (IProcedure procedure, long timeout) |
Executes a procedure asynchronously. More... | |
IRuntimeContext | ExecuteAsync (String name, IProcedure procedure) |
Executes a procedure asynchronously. More... | |
IRuntimeContext | ExecuteAsync (String name, IProcedure procedure, ExpectedState expectedConnectionState) |
Executes a procedure asynchronously at an expected connection state. More... | |
IRuntimeContext | ExecuteAsync (String name, IProcedure procedure, ExpectedState expectedConnectionState, long timeout) |
Executes a procedure asynchronously at an expected connection state. More... | |
IRuntimeContext | ExecuteAsync (String name, IProcedure procedure, long timeout) |
Executes a procedure asynchronously. More... | |
DiagConnectionState | GetDiagConnectionState () |
Get the diagnostic connection state. More... | |
String | GetSearchPath () |
Gets search path. More... | |
boolean | IsProtected (String fileName) |
Checks if a PTX/PPX is signed and/or encrypted. More... | |
IPlayerProject | LoadPpx (String fileName) |
Loads a PPX file. More... | |
IPlayerProject | LoadPpx (String fileName, String password) |
Loads a protected PPX file. More... | |
IProject | LoadPtx (String fileName) |
Loads a PTX file. More... | |
IProject | LoadPtx (String fileName, String password) |
Loads a protected PTX file. More... | |
boolean | RemoveDiagConnectionStateChangedListener (DiagConnectionStateChangedListener listener) |
Remove diagnostic connection state changed listener. More... | |
boolean | RemoveInOutParameterValueChangedListener (InOutParameterValueChangedListener listener) |
Removes ProcedureInOutParameter value changed listener. More... | |
boolean | RemoveProcedureAbortedListener (ProcedureAbortedListener listener) |
Removes procedure aborted listener. More... | |
boolean | RemoveProcedureContinuedListener (ProcedureContinuedListener listener) |
Remove procedure continued listener. More... | |
boolean | RemoveProcedureFinishedListener (ProcedureFinishedListener listener) |
Removes procedure finished listener. More... | |
boolean | RemoveProcedurePausedListener (ProcedurePausedListener listener) |
Remove procedure paused listener. More... | |
boolean | RemoveProcedurePendingListener (ProcedurePendingListener listener) |
Remove procedure pending listener. More... | |
boolean | RemoveProcedureStartedListener (ProcedureStartedListener listener) |
Removes procedure started listener. More... | |
boolean | RemoveProcedureStoppedListener (ProcedureStoppedListener listener) |
Removes procedure stopped listener. More... | |
boolean | RemoveProcedureTimeoutListener (ProcedureTimeoutListener listener) |
Removes procedure timeout listener. More... | |
void | SetCustomImplementation (IBasicScreenImplementation implementation) |
Sets BasicScreenImplementation. More... | |
void | SetCustomImplementation (ICommonDialogsImplementation implementation) |
Sets ICommonDialogsImplementation. More... | |
void | SetCustomImplementation (IContextVariableImplementation implementation) |
Sets IContextVariableImplementation. More... | |
void | SetCustomImplementation (ICustomScreenImplementation implementation) |
Sets ICustomScreenImplementation. More... | |
void | SetCustomImplementation (IExternalServiceProviderImplementation implementation) |
Sets IExternalServiceProviderImplementation. More... | |
void | SetCustomImplementation (Ii18nImplementation implementation) |
Sets II18nImplementation. More... | |
void | SetCustomImplementation (ILoggingImplementation implementation) |
Sets ILoggingImplementation. More... | |
void | SetCustomImplementation (IMeasureImplementation implementation) |
Sets IMeasureImplementation. More... | |
void | SetCustomImplementation (ISqlImplementation implementation) |
Sets ISqlImplementation. More... | |
void | SetCustomImplementation (IStateVariableImplementation implementation) |
Sets IStateVariableImplementation. More... | |
boolean | SetSearchPath (String searchPath) |
Sets search path. More... | |
void | StopAll () |
Stops all synchronous and asynchronous executing procedures of this RuntimeManager. | |
Runs a PTX/PPX file directly.
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.AddDiagConnectionStateChangedListener | ( | DiagConnectionStateChangedListener | listener | ) |
Add diagnostic connection state changed listener.
listener | A callback function which will be invoked after the ConnectionState was changed but only during the Procedure execution started with @expectedConnectionState@ not equal to @None. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.AddInOutParameterValueChangedListener | ( | InOutParameterValueChangedListener | listener | ) |
Adds ProcedureInOutParameter value changed listener.
listener | A callback function which will be invoked when ProcedureInOutParameter value changed from Otx-Runtime. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.AddProcedureAbortedListener | ( | ProcedureAbortedListener | listener | ) |
Adds procedure aborted listener.
listener | A callback function which will be invoked when a procedure is stopped with an exception. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.AddProcedureContinuedListener | ( | ProcedureContinuedListener | listener | ) |
Add procedure continued listener.
listener | A callback function which will be invoked after a Procedure is continued. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.AddProcedureFinishedListener | ( | ProcedureFinishedListener | listener | ) |
Adds procedure finished listener.
listener | A callback function which will be invoked when a procedure finished without exception. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.AddProcedurePausedListener | ( | ProcedurePausedListener | listener | ) |
Adds procedure paused listener.
listener | A callback function which will be invoked before a Procedure is paused. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.AddProcedurePendingListener | ( | ProcedurePendingListener | listener | ) |
Add procedure pending listener.
listener | A callback function which will be invoked after a Procedure is executed but the Procedure is not really started. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.AddProcedureStartedListener | ( | ProcedureStartedListener | listener | ) |
Adds procedure started listener.
listener | A callback function which will be invoked when a procedure started. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.AddProcedureStoppedListener | ( | ProcedureStoppedListener | listener | ) |
Adds procedure stopped listener.
listener | A callback function which will be invoked when a procedure stopped. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.AddProcedureTimeoutListener | ( | ProcedureTimeoutListener | listener | ) |
Adds procedure timeout listener.
listener | A callback function which will be invoked when a timeout expires. |
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.Execute | ( | IProcedure | procedure | ) |
Executes a procedure synchronously.
procedure | Procedure to execute. |
Examples
A sample which loads a PTX file and browses its structure.
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.Execute | ( | IProcedure | procedure, |
long | timeout | ||
) |
Executes a procedure synchronously.
procedure | Procedure to execute. |
timeout | The procedure execution will be stopped when the timeout expires. |
Examples
A sample which loads a PTX file and browses its structure.
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.Execute | ( | String | name, |
IProcedure | procedure | ||
) |
Executes a procedure synchronously.
name | Optional name of the RuntimeContext. The name will be used for example to better distinguish the different OTX runners and/or clients of DiagManager inside the trace files. For the DiagManager the method SetClientName will be called internally. |
procedure | Procedure to execute. |
Examples
A sample which loads a PTX file and browses its structure.
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.Execute | ( | String | name, |
IProcedure | procedure, | ||
ExpectedState | expectedConnectionState | ||
) |
Executes a procedure synchronously at an expected connection state.
name | Optional name of the RuntimeContext. The name will be used for example to better distinguish the different clients inside the trace file. |
procedure | Procedure to execute. |
expectedConnectionState | The expected connection state during the procedure execution:
|
OpenTestSystem.Otx.Runtime.Api.Exceptions.ConnectionStateException | Throws a ConnectionStateException if the expected state is greater BatteryOn, and the battery state is higher than BatteryOff and the ignition state cannot be determined by the underlying system. |
Examples
A sample which loads a PTX file and browses its structure.
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.Execute | ( | String | name, |
IProcedure | procedure, | ||
ExpectedState | expectedConnectionState, | ||
long | timeout | ||
) |
Executes a procedure synchronously at an expected connection state.
name | Optional name of the RuntimeContext. The name will be used for example to better distinguish the different clients inside the trace file. |
procedure | Procedure to execute. |
expectedConnectionState | The expected connection state during the procedure execution:
|
timeout | The procedure execution will be stopped when the timeout expires. |
OpenTestSystem.Otx.Runtime.Api.Exceptions.ConnectionStateException | Throws a ConnectionStateException if the expected state is greater BatteryOn, and the battery state is higher than BatteryOff and the ignition state cannot be determined by the underlying system. |
Examples
A sample which loads a PTX file and browses its structure.
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.Execute | ( | String | name, |
IProcedure | procedure, | ||
long | timeout | ||
) |
Executes a procedure synchronously.
name | Optional name of the RuntimeContext. The name will be used for example to better distinguish the different OTX runners and/or clients of DiagManager inside the trace files. For the DiagManager the method SetClientName will be called internally. |
procedure | Procedure to execute. |
timeout | The procedure execution will be stopped when the timeout expires. |
Examples
A sample which loads a PTX file and browses its structure.
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.ExecuteAsync | ( | IProcedure | procedure | ) |
Executes a procedure asynchronously.
procedure | Procedure to execute. |
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.ExecuteAsync | ( | IProcedure | procedure, |
long | timeout | ||
) |
Executes a procedure asynchronously.
procedure | Procedure to execute. |
timeout | The procedure execution will be stopped when the timeout expires. |
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.ExecuteAsync | ( | String | name, |
IProcedure | procedure | ||
) |
Executes a procedure asynchronously.
name | Optional name of the RuntimeContext. The name will be used for example to better distinguish the different OTX runners and/or clients of DiagManager inside the trace files. For the DiagManager the method SetClientName will be called internally. |
procedure | Procedure to execute. |
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.ExecuteAsync | ( | String | name, |
IProcedure | procedure, | ||
ExpectedState | expectedConnectionState | ||
) |
Executes a procedure asynchronously at an expected connection state.
name | Optional name of the RuntimeContext. The name will be used for example to better distinguish the different clients inside the trace file. |
procedure | Procedure to execute. |
expectedConnectionState | The expected connection state during the procedure execution:
|
OpenTestSystem.Otx.Runtime.Api.Exceptions.ConnectionStateException | Throws a ConnectionStateException if the expected state is greater BatteryOn, and the battery state is higher than BatteryOff and the ignition state cannot be determined by the underlying system. |
Examples
A sample which loads a PTX file and browses its structure.
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.ExecuteAsync | ( | String | name, |
IProcedure | procedure, | ||
ExpectedState | expectedConnectionState, | ||
long | timeout | ||
) |
Executes a procedure asynchronously at an expected connection state.
name | Optional name of the RuntimeContext. The name will be used for example to better distinguish the different clients inside the trace file. |
procedure | Procedure to execute. |
expectedConnectionState | The expected connection state during the procedure execution:
|
timeout | The procedure execution will be stopped when the timeout expires. |
OpenTestSystem.Otx.Runtime.Api.Exceptions.ConnectionStateException | Throws a ConnectionStateException if the expected state is greater BatteryOn, and the battery state is higher than BatteryOff and the ignition state cannot be determined by the underlying system. |
Examples
A sample which loads a PTX file and browses its structure.
IRuntimeContext OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.ExecuteAsync | ( | String | name, |
IProcedure | procedure, | ||
long | timeout | ||
) |
Executes a procedure asynchronously.
name | Optional name of the RuntimeContext. The name will be used for example to better distinguish the different OTX runners and/or clients of DiagManager inside the trace files. For the DiagManager the method SetClientName will be called internally. |
procedure | Procedure to execute. |
timeout | The procedure execution will be stopped when the timeout expires. |
DiagConnectionState OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.GetDiagConnectionState | ( | ) |
Get the diagnostic connection state.
String OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.GetSearchPath | ( | ) |
Gets search path.
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.IsProtected | ( | String | fileName | ) |
Checks if a PTX/PPX is signed and/or encrypted.
fileName | Path of PTX/PPX file to check. |
Examples
IPlayerProject OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.LoadPpx | ( | String | fileName | ) |
Loads a PPX file.
The OTX-Runtime cannot compile OTX to binary format. Therefore the PTX file must contain the OTX binary format, which can be created inside the OTX Development Environment. Otherwise the project cannot be loaded.
fileName | Path of PPX file to load. |
OpenTestSystem.Otx.Runtime.Api.Exceptions.FileNotFoundException | Thrown when the given file cannot be found. |
OpenTestSystem.Otx.Runtime.Api.Exceptions.FileFormatException | Throw if PPX's format is invalid. |
java.lang.RuntimeException | Other cases, such as loading ptx file without password or wrong password, etc |
Examples
A sample which loads a PPX file and browses its structure.
IPlayerProject OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.LoadPpx | ( | String | fileName, |
String | password | ||
) |
Loads a protected PPX file.
The OTX-Runtime cannot compile OTX to binary format. Therefore the PTX file must contain the OTX binary format, which can be created inside the OTX Development Environment. Otherwise the project cannot be loaded.
fileName | Path of PPX file to load. |
OpenTestSystem.Otx.Runtime.Api.Exceptions.FileNotFoundException | Thrown when the given file cannot be found. |
OpenTestSystem.Otx.Runtime.Api.Exceptions.FileFormatException | Throw if PPX's format is invalid. |
java.lang.RuntimeException | Other cases, such as loading protected ptx file without password or wrong password, etc |
IProject OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.LoadPtx | ( | String | fileName | ) |
Loads a PTX file.
The OTX-Runtime cannot compile OTX to binary format. Therefore the PTX file must contain the OTX binary format, which can be created inside the OTX Development Environment. Otherwise the project cannot be loaded.f
fileName | Path of PTX file to load. |
OpenTestSystem.Otx.Runtime.Api.Exceptions.FileNotFoundException | Thrown when the given file cannot be found. |
OpenTestSystem.Otx.Runtime.Api.Exceptions.FileFormatException | Throw if PTX's format is invalid or PTX version is older than required or Runtime version is older than PTX's required RuntimeVersion |
java.lang.RuntimeException | Other cases, such as loading ptx file without password or wrong password, etc |
Examples
A sample which loads a PTX file and browses its structure.
IProject OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.LoadPtx | ( | String | fileName, |
String | password | ||
) |
Loads a protected PTX file.
The OTX-Runtime cannot compile OTX to binary format. Therefore the PTX file must contain the OTX binary format, which can be created inside the OTX Development Environment. Otherwise the project cannot be loaded.
fileName | Path of PTX file to load. |
password | Password to decrypt the PTX file. |
OpenTestSystem.Otx.Runtime.Api.Exceptions.FileNotFoundException | Thrown when the given file cannot be found. |
OpenTestSystem.Otx.Runtime.Api.Exceptions.FileFormatException | Throw if PTX's format is invalid or PTX version is older than required or Runtime version is older than PTX's required RuntimeVersion |
java.lang.RuntimeException | Other cases, such as loading ptx file without password or wrong password, etc |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.RemoveDiagConnectionStateChangedListener | ( | DiagConnectionStateChangedListener | listener | ) |
Remove diagnostic connection state changed listener.
listener | A callback function which will be invoked after the ConnectionState was changed but only during the Procedure execution started with @expectedConnectionState@ not equal to @None. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.RemoveInOutParameterValueChangedListener | ( | InOutParameterValueChangedListener | listener | ) |
Removes ProcedureInOutParameter value changed listener.
listener | A callback function which will be invoked when ProcedureInOutParameter value changed from Otx-Runtime. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.RemoveProcedureAbortedListener | ( | ProcedureAbortedListener | listener | ) |
Removes procedure aborted listener.
listener | A callback function which will be invoked when a procedure is stopped with an exception. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.RemoveProcedureContinuedListener | ( | ProcedureContinuedListener | listener | ) |
Remove procedure continued listener.
listener | A callback function which will be invoked after a Procedure is continued. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.RemoveProcedureFinishedListener | ( | ProcedureFinishedListener | listener | ) |
Removes procedure finished listener.
listener | A callback function which will be invoked when a procedure finished without exception. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.RemoveProcedurePausedListener | ( | ProcedurePausedListener | listener | ) |
Remove procedure paused listener.
listener | A callback function which will be invoked before a Procedure is paused. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.RemoveProcedurePendingListener | ( | ProcedurePendingListener | listener | ) |
Remove procedure pending listener.
listener | A callback function which will be invoked after a Procedure was executed but the Procedure is not really started. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.RemoveProcedureStartedListener | ( | ProcedureStartedListener | listener | ) |
Removes procedure started listener.
listener | A callback function which will be invoked when a procedure started. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.RemoveProcedureStoppedListener | ( | ProcedureStoppedListener | listener | ) |
Removes procedure stopped listener.
listener | A callback function which will be invoked when a procedure stopped. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.RemoveProcedureTimeoutListener | ( | ProcedureTimeoutListener | listener | ) |
Removes procedure timeout listener.
listener | A callback function which will be invoked when a timeout expires. |
void OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.SetCustomImplementation | ( | IBasicScreenImplementation | implementation | ) |
Sets BasicScreenImplementation.
implementation | An implementation of IBasicScreenImplementation. |
void OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.SetCustomImplementation | ( | ICommonDialogsImplementation | implementation | ) |
Sets ICommonDialogsImplementation.
implementation | An implementation of ICommonDialogsImplementation. |
void OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.SetCustomImplementation | ( | IContextVariableImplementation | implementation | ) |
Sets IContextVariableImplementation.
implementation | An implementation of IContextVariableImplementation. |
void OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.SetCustomImplementation | ( | ICustomScreenImplementation | implementation | ) |
Sets ICustomScreenImplementation.
implementation | An implementation of ICustomScreenImplementation. |
void OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.SetCustomImplementation | ( | IExternalServiceProviderImplementation | implementation | ) |
Sets IExternalServiceProviderImplementation.
implementation | An implementation of IExternalServiceProviderImplementation. |
void OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.SetCustomImplementation | ( | Ii18nImplementation | implementation | ) |
Sets II18nImplementation.
implementation | An implementation of II18nImplementation. |
void OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.SetCustomImplementation | ( | ILoggingImplementation | implementation | ) |
Sets ILoggingImplementation.
implementation | An implementation of ILoggingImplementation. |
void OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.SetCustomImplementation | ( | IMeasureImplementation | implementation | ) |
Sets IMeasureImplementation.
implementation | An implementation of IMeasureImplementation. |
void OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.SetCustomImplementation | ( | ISqlImplementation | implementation | ) |
Sets ISqlImplementation.
implementation | An implementation of ISqlImplementation. |
void OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.SetCustomImplementation | ( | IStateVariableImplementation | implementation | ) |
Sets IStateVariableImplementation.
implementation | An implementation of IStateVariableImplementation. |
boolean OpenTestSystem.Otx.Runtime.Api.IRuntimeManager.SetSearchPath | ( | String | searchPath | ) |
Sets search path.
The OTX search path (OTX-Home
) determines the base directory to which all relative path specifications refer. It can contain several directories separated by semicolons (";") and the placeholders "?" (One arbitrary character) and "*" (any characters). You can also use the placeholder [ProjectDir]
(e.g. [ProjectDir]/*
) with the following semantic:
Scope | Path which [ProjectDir] refers | Sample path |
---|---|---|
Within OTF | Directory of the project inside OTF solution | C:/Users/[Current User]/Documents/Open Test Framework/OtxSolution1/OtxProject1 |
Runtime API uses PTX file | Directory of PTX file location | C:/Users/[Current User]/Documents/Open Test Framework |
Runtime API uses OTX file | Directory of OTX file location | C:/Users/[Current User]/Documents/Open Test Framework |
Runtime API uses binary file (DLL, JAR) | Directory of the binary file location | C:/Users/[Current User]/Documents/Open Test Framework |
While file reading operations with relative paths, the runtime environment takes each directory starting from the left as a base for relative paths. If the file is found, the search is canceled.
For file writing operations with relative paths, the first directory is used. The first directory shall exists and shall not contain wildcards.
If no OTX search path is specified, the default value [ProjectDir];[ProjectDir]/..
is used.
searchPath | Base directory. |