 | TestSuiteRunnerRun Method (Type, String) |
Runs the test suite which is contained in the same directory with the same name as
the assembly containing the specified container type, or a file explicitly specified in the command line arguments.
For example 'MyTestProject1.exe' tries to load 'MyTestProject1.rxtst'.
Namespace:
Ranorex.Core.Testing
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static int Run(
Type containerType,
string cmdLineArgs
)
Public Shared Function Run (
containerType As Type,
cmdLineArgs As String
) As Integer
Parameters
- containerType
- Type: SystemType
Specifies a type which must be located in the main test suite assembly. - cmdLineArgs
- Type: SystemString
The command line arguments.
Return Value
Type:
Int32An error code which can be used as a return value for command line execution (0 = Success, -1 = Failure)
See Also