Udostępnij za pośrednictwem


Metoda TestRun.GetTestElement — (TestExecId)

Zwraca wartość elementu test, który ma identyfikator wykonanie określonego.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
Public Function GetTestElement ( _
    executionId As TestExecId _
) As ITestElement
public ITestElement GetTestElement(
    TestExecId executionId
)
public:
ITestElement^ GetTestElement(
    TestExecId^ executionId
)
member GetTestElement : 
        executionId:TestExecId -> ITestElement
public function GetTestElement(
    executionId : TestExecId
) : ITestElement

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.TestTools.Common.ITestElement
Element kontrolny lub wartość null.

Uwagi

Metoda ta określa również wykonanie ID, identyfikator wykonanie nadrzędnego i identyfikator kategorii elementu badania zwracane.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

TestRun Klasa

Przeciążenie GetTestElement

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common

TestExecId

ITestElement