Share via


ITestRunner.LoadRun Method

Runs a load test case.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
Function LoadRun ( _
    testElement As ITestElement(), _
    resultSink As IResultSink, _
    contextProperties As IDictionary(Of String, Object) _
) As AdapterRunResult
AdapterRunResult LoadRun(
    ITestElement[] testElement,
    IResultSink resultSink,
    IDictionary<string, Object> contextProperties
)
AdapterRunResult LoadRun(
    array<ITestElement^>^ testElement, 
    IResultSink^ resultSink, 
    IDictionary<String^, Object^>^ contextProperties
)
abstract LoadRun : 
        testElement:ITestElement[] * 
        resultSink:IResultSink * 
        contextProperties:IDictionary<string, Object> -> AdapterRunResult
function LoadRun(
    testElement : ITestElement[], 
    resultSink : IResultSink, 
    contextProperties : IDictionary<String, Object>
) : AdapterRunResult

Parameters

  • contextProperties
    Type: IDictionary<String, Object>

    An [T:System.Collections.Generic.IDictionary<TKey,TValue>] object that contains the context properties for the test.

Return Value

Type: Microsoft.VisualStudio.TestTools.Execution.AdapterRunResult
A member of the AdapterRunResult enumeration that indicates the success or failure of each test.

.NET Framework Security

See Also

Reference

ITestRunner Interface

Microsoft.VisualStudio.TestTools.Execution Namespace

ITestElement

IResultSink

AdapterRunResult