共用方式為


UITestInterpreterCore.ExecuteTest 方法 (UITest, Int64, Int64)

執行 (即解譯) 指定的 UITest 動作的物件在指定的範圍。

命名空間:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
組件:  Microsoft.VisualStudio.TestTools.UITest.Common (在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

語法

'宣告
Public Shared Sub ExecuteTest ( _
    uiTest As UITest, _
    startId As Long, _
    stopId As Long _
)
public static void ExecuteTest(
    UITest uiTest,
    long startId,
    long stopId
)
public:
static void ExecuteTest(
    UITest^ uiTest, 
    long long startId, 
    long long stopId
)
static member ExecuteTest : 
        uiTest:UITest * 
        startId:int64 * 
        stopId:int64 -> unit
public static function ExecuteTest(
    uiTest : UITest, 
    startId : long, 
    stopId : long
)

參數

  • startId
    類型:Int64

    第一個動作的 ID 表示範圍開頭的 ExecuteAction 清單。

  • stopId
    類型:Int64

    最後一個動作的 ID 表示範圍結尾的 ExecuteAction 清單。

備註

startId 和 stopId 為只 ExecuteActions 使用,且不會為其他動作清單。

.NET Framework 安全性

請參閱

參考

UITestInterpreterCore 類別

ExecuteTest 多載

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration 命名空間