问题
We have to run QTP VB Scripts from Jenkins being as a part of CI Can any one suggest me what is the best way to integrate ?
Advanced thanks Thanks
回答1:
Jenkins can run anything you can run from the command line, and you can create QTP Automation objects :
Dim Application
Set Application = CreateObject("QuickTest.Application")
Application.Launch
Application.Visible = True
Application.Open "testfile", True
Dim Test
Set Test = Application.Test
Test.Run
If you search for quicktest.application
you will find plenty of examples.
You can start this procedure using a Windows Batch Command build step in Jenkins with the cscript interpreter.
来源:https://stackoverflow.com/questions/14320146/qtp-to-jenkins-integration-help-need-ci