hp-quality-center

Force .NET interop to use local COM DLL

岁酱吖の 提交于 2021-02-05 20:35:36
问题 Is it possible to force an interop assembly to reference a local copy of its associated COM DLL? Here's the scenario: I have a .NET app that references an interop assembly (Interop.OTAClient.dll), which is the interop for a COM DLL (OTAClient.dll, which is the automation API for HP Quality Center). I'm not very knowledgable on COM, but as I understand it the interop assembly looks up the COM classes via GUID references in the registry, rather than pointing to a specific file. The issue I have

Force .NET interop to use local COM DLL

£可爱£侵袭症+ 提交于 2021-02-05 20:35:21
问题 Is it possible to force an interop assembly to reference a local copy of its associated COM DLL? Here's the scenario: I have a .NET app that references an interop assembly (Interop.OTAClient.dll), which is the interop for a COM DLL (OTAClient.dll, which is the automation API for HP Quality Center). I'm not very knowledgable on COM, but as I understand it the interop assembly looks up the COM classes via GUID references in the registry, rather than pointing to a specific file. The issue I have

QC REST API : Unsupported Media Type

只谈情不闲聊 提交于 2021-01-29 01:35:16
问题 We use HP Quality Center and we upgrade 11.5x to 12.21 and i use the API to create a ticket. Connexion and ticket creation are ok, but attachement of file is not. I got {"Id":"qccore.general-error","Title":"Unsupported Media Type","ExceptionProperties":null,"StackTrace":null} Here is my code $filename = $file->name; $eol = "\r\n"; $mime_boundary = 'boundary'; $content = '--' . $mime_boundary . $eol; $content .= 'Content-Disposition: form-data; name="entity.type"'; $content .= $eol . $eol;

ActiveX component can't create object: 'TDApiOle80.TDConnection'

蹲街弑〆低调 提交于 2020-08-25 07:14:20
问题 I am trying to connect to QCServer using Excel Macro. I am using a 64-bit operating system with following being done: Register OTAClient.dll Installed HP ALM Connectivity tool Added OTA Library to reference I am getting the following error: ActiveX component can't create object: 'TDApiOle80.TDConnection' But the same is running using VBScript: C:\Windows\SysWOW64\Wscript.exe "C:\Users****\Desktop\qcConn.vbs" 回答1: I have found this solution on some other blog: If you are on 64 bit machine, by

HP ALM 12.5 - How to Make Test Sets Read Only in Test Lab Module

a 夏天 提交于 2020-01-15 10:53:27
问题 I am trying to make particular test set Read Only, meaning no one will be able to run, delete or modify these particular test set. I also don't know how to make Test Sets and also Folders Read Only for Delete and Modify functions yet, any help there I will be thankful too): In Test Lab module Script --> TestSet_MoveTo Sub: If TestSet_Fields.Field("TC_Cycle_ID").Value = 103 Then Actions.Action("TestSetView.Run").Enabled = FALSE Actions.Action("TestSetView.RunTestSet").Enabled = FALSE Else

HP ALM 12.5 - How to Make Test Sets Read Only in Test Lab Module

久未见 提交于 2020-01-15 10:52:33
问题 I am trying to make particular test set Read Only, meaning no one will be able to run, delete or modify these particular test set. I also don't know how to make Test Sets and also Folders Read Only for Delete and Modify functions yet, any help there I will be thankful too): In Test Lab module Script --> TestSet_MoveTo Sub: If TestSet_Fields.Field("TC_Cycle_ID").Value = 103 Then Actions.Action("TestSetView.Run").Enabled = FALSE Actions.Action("TestSetView.RunTestSet").Enabled = FALSE Else

QC API JAR to connect using java

陌路散爱 提交于 2019-12-25 17:03:17
问题 I'm trying to integrate QC (also known as ALM) using java/servlets/springs and I've tried the following jar to do it, however I'm not able to establish the connection. 1) "com4j" - which is quite old and is also mentioned on this forum as well, however the latest QC or ALM doesn't gets connected using this jar QC Connection from Java using Com4 Your help would be greatly appreciated. 回答1: QC version 10.0 or < 10.0 do not support rest api, also latest version of QC including 11, 11.5 and 12 do

Automating HP Quality Center with Python or Java

橙三吉。 提交于 2019-12-20 10:25:20
问题 We have a project that uses HP Quality Center and one of the regular issues we face is people not updating comments on the defect. So I was thinkingif we could come up with a small script or tool that could be used to periodically throw up a reminder and force the user to update the comments. I came across the Open Test Architecture API and was wondering if there are any good Python or java examples for the same that I could see. Thanks Hari 回答1: I'm not sure there are any good samples for

Quality Center: Set a Step Field in Python

匆匆过客 提交于 2019-12-13 09:56:01
问题 I have a very simple problem here. I want to achieve the following VB script Code in Python:- dim objSfact dim objOrun dim mystep Set objOrun = QCutil.CurrentRun Set objSfact = objOrun.StepFactory Set att = objSfact.AddItem(null) att.name = aStepname att.post Set steplist = objSfact.NewList("SELECT * FROM Step WHERE ST_STEP_NAME='" & aStepname & "'") For each mystep in steplist mystep.Status = aStatus myStep.Field("ST_DESCRIPTION") = aDesc myStep.Field("ST_EXPECTED") = aExpected mystep.Field(

Integrating Sharepoint with Quality Center

蹲街弑〆低调 提交于 2019-12-12 04:44:25
问题 I am an intern for a company that wants to try to integrate data from HP Quality Center (graphs, dashboards, data etc) into Sharepoint 2010. The whole idea is that once a test case or something is updated through Quality Center; it should automatically update on sharepoint. Any ideas on how this could be done? 回答1: Well quality center does have a database behind it, so you could query that via BCS. OR, for bonus points since QC doesn't offer any web services, you could expose the data