maven - QTP 到 Jenkins 集成帮助需要 CI

标签 maven testing jenkins qtp jenkins-plugins

作为 CI 的一部分,我们必须从 Jenkins 运行 QTP VB 脚本 谁能建议我最好的集成方式是什么?

先致谢 谢谢

最佳答案

Jenkins 可以运行任何你可以从命令行运行的东西,你可以创建 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

如果您搜索 quicktest.application,您会找到很多示例。

您可以使用 Windows 批处理命令 在 Jenkins 中使用 cscript 构建步骤开始此过程口译员。

关于maven - QTP 到 Jenkins 集成帮助需要 CI,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14320146/

相关文章:

java - 有没有使用 maven 运行可执行 jar 的好方法?

reactjs - React、TypeScript 和 RxJS 测试与 Jest 不工作

angular - 引用错误 : service is not defined

jenkins - 在哪里可以找到带有 gradle 的 org.jenkinsci.plugins.workflow.steps.FlowInterruptedException ?

svn - 使用 SYSTEM 帐户 : SSL handshake failed: SSL error code -1/1/336032856 在 cygwin 上运行 svn

java - 无法设置 Jenkins 的 JAVA_HOME 路径

java - 为什么Gradle在本地m2存储库中看不到该Maven坐标?

maven - 在 Cloud9 Docker 容器中运行 Maven

Maven 无法解析依赖项 - javax.activation

unit-testing - WatiN 测试记录器 : How to get the compiled code in C# from the steps the recorder records