2

CI の一部として Jenkins から QTP VB スクリプトを実行する必要があります。統合するための最良の方法を教えてください。

高度な感謝 ありがとう

4

1 に答える 1

3

Jenkins は、コマンド ラインから実行できるものなら何でも実行でき、QTP Automation オブジェクトを作成できます。

Dim Application
Set Application = CreateObject("QuickTest.Application")
Application.Launch 
Application.Visible = True 
Application.Open "testfile", True 

Dim Test
Set Test = Application.Test
Test.Run

で検索するquicktest.applicationと作例がたくさん出てきます。

この手順は、 cscriptインタープリターを使用して Jenkins でWindows Batch Commandビルド ステップを使用して開始できます。

于 2013-01-14T15:07:47.087 に答える