CI の一部として Jenkins から QTP VB スクリプトを実行する必要があります。統合するための最良の方法を教えてください。
高度な感謝 ありがとう
CI の一部として Jenkins から QTP VB スクリプトを実行する必要があります。統合するための最良の方法を教えてください。
高度な感謝 ありがとう
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ビルド ステップを使用して開始できます。