excel - 无法使用 excel 宏与 HP ALM 12.53 建立连接

标签 excel alm vba

我正在使用以下代码连接到 ALM 12.53,但无法连接,收到错误消息:

Active X can't create object


Private Sub BtnAuthenticate_Click()
    errmsg = "No Error"
    On Error GoTo ErrorHandling
    Set tdc = CreateObject("tdapiole80.TDconnection")
    MsgBox ("Connect to QC Server")
    Set WSConfig = ThisWorkbook.Worksheets("ALM Express")
    If tdc.Connected Then
        Set tdc = Nothing
    End If
    tdc.InitConnectionEx (Trim(WSConfig.Cells(3, 6).Value))
    Strusrnme = WorksheetFunction.Trim(TxtUserID.Text)
    strpwd = TxtPWD.Text
    errmsg = "Authentication failed. verify your UserID and Password"
    tdc.Login Strusrnme, strpwd
    '...
End Sub

尽管我已成功安装 HP ALM 连接工具插件,并且可以看到该文件夹​​在我的 c 驱动器中创建了“Mercury Interactive”。

C:\Program Files (x86)\Common Files\Mercury Interactive

最佳答案

如果有更多信息,您的问题会更清楚,但也许您需要 ALM Explorer 加载项 ?

ALM Explorer Add-In is useful if you are unable to download ActiveX controls or if your browser restricts the use of ActiveX components. The only components that are downloaded when you use ALM Explorer are ALM components.

Note: ALM Explorer does not support Performance Center windows, such as the Performance Test Designer, Performance Trending, or MyPC. These windows open in a standard Web browser.



(Source)

关于excel - 无法使用 excel 宏与 HP ALM 12.53 建立连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50551338/

相关文章:

vba - 在继续循环之前提示用户

excel - 续订证书后是否需要重新编码签名 Excel 宏

qtp - 如何在 UFT 中退出测试用例

excel - 通过 Vba 循环保存 Excel 行

excel - 如何在Excel公式中选择整列或整行?

java - 内存不足错误 - 写入 Excel 时的 Java 堆空间

single-sign-on - Atlassian Crowd 体验?

c# - HP ALM 12.21 REST API - 401 未经授权 - C#

vba - 数据透视表不显示小计

vba - 从第 x 行开始转到最后使用的行,忽略空格?