无法创建TDConnection对象

无法创建TDConnection对象

本文介绍了Jenkins QC插件无法创建TDConnection对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Jenkins QC插件,但是当我在jenkins上构建时,出现以下控制台错误

由匿名用户启动

在工作空间C:\ Users \ builder.jenkins \ workspace \ QC插件中构建[QC插件] $ cscript/nologo"C:\ Users \ builder.jenkins \ workspace \ QC插件\ runTestSet.vbs" http:// * ** * ** Caine测试测试qcreport-test-4.xml 100 RUN_PLANNED_HOSTC:\ Users \ builder.jenkins \ workspace \ QC Plugin \ runTestSet.vbs(163,5)Microsoft VBScript运行时错误:ActiveX组件无法创建对象:'TDApiOle80.TDConnection'

5/30/2012 2:55:04 PM:脚本参数:

5/30/2012 2:55:04 PM: * ** * ** * ** * ** * ** * ** * ** * ** * **

5/30/2012 2:55:04 PM:QC服务器: *

5/30/2012 2:55:04 PM:QC用户名: *

5/30/2012 2:55:04 PM:QC密码: * *

2012年5月30日2:55:04:QC域: **

5/30/2012 2:55:04 PM:QC项目: *

2012年5月30日2:55:04:QC TestSetFolder:测试

2012年5月30日2:55:04:QC TestSetName:测试

5/30/2012 2:55:04 PM:XML Junit文件:qcreport-test-4.xml

5/30/2012 2:55:04 PM:超时:100

5/30/2012 2:55:04 PM: * ** * ** * ** * ** * ** * ** * ** * ** * **

5/30/2012 2:55:04 PM:运行模式:RUN_PLANNED_HOST

5/30/2012 2:55:04 PM: * ** * ** * ** * ** * ** * ** * ** * ** * **

无法创建TDConnection对象

正在创建报告...

生成报告文件

报告文件路径:qcreport-test-4.xml

|测试名称|现状+ ------------------------------------------------- ------------------------- +

创建报告

致命:无法运行测试

构建步骤"HP Quality Center"将构建标记为失败

完成:失败

有人知道如何解决这个问题吗?

解决方案

该错误似乎已知,但不是固定的.看来问题出在 32 vs 64位,并且有一种解决方法. /p>

还有其他可能的解释,例如特权

I'm attempting to use the Jenkins QC plugin, but when I build on jenkins i'm getting the following console errors

Started by user anonymous

Building in workspace C:\Users\builder.jenkins\workspace\QC Plugin[QC Plugin] $ cscript /nologo "C:\Users\builder.jenkins\workspace\QC Plugin\runTestSet.vbs" http://****** Caine test test qcreport-test-4.xml 100 RUN_PLANNED_HOSTC:\Users\builder.jenkins\workspace\QC Plugin\runTestSet.vbs(163, 5) Microsoft VBScript runtime error: ActiveX component can't create object: 'TDApiOle80.TDConnection'

5/30/2012 2:55:04 PM : Script parameters:

5/30/2012 2:55:04 PM : ***************************

5/30/2012 2:55:04 PM : QC Server : *

5/30/2012 2:55:04 PM : QC UserName : *

5/30/2012 2:55:04 PM : QC Password : **

5/30/2012 2:55:04 PM : QC Domain : **

5/30/2012 2:55:04 PM : QC Project : *

5/30/2012 2:55:04 PM : QC TestSetFolder: test

5/30/2012 2:55:04 PM : QC TestSetName : test

5/30/2012 2:55:04 PM : XML Junit File : qcreport-test-4.xml

5/30/2012 2:55:04 PM : Timeout : 100

5/30/2012 2:55:04 PM : ***************************

5/30/2012 2:55:04 PM : RunMode : RUN_PLANNED_HOST

5/30/2012 2:55:04 PM : ***************************

Can't create TDConnection Object

Creating report...

Generating report file

Report file path: qcreport-test-4.xml

| Test Name | Status |+--------------------------------------------------------------------------+

Report Created

FATAL: Couldn't run tests

Build step 'HP Quality Center' marked build as failure

Finished: FAILURE

Anyone any idea how to get around this?

解决方案

The bug seems known but not fixed. It seems like the problem is of 32 vs 64 bits and has a workaround.

There are also other potential explanations, like privileges

这篇关于Jenkins QC插件无法创建TDConnection对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 00:15