integrating HP ALM (Quality Center) with National Instrument's LabVIEW/ Teststand
Testplan workflow to read current filter in UI
Hi all,
I am writing a workflow to perform a some operation on the tree in testplan module.
I would like to take into consideration the current filter of which the user applied on the tree (for example: Execution status)
How do I access and read the current applied filter from my workflow?
Thanks in advanced.
How can I have Dashboard/Excel Report in REST API
Hello,
I have 3 Excel Reports created with SQL (with a query like SELECT CF_ITEM_PATH FROM CYCL_FOLD WHERE CF_ITEM_NAME = 'REST' ) and I would like to generate them from REST API. Would you please help me with this?
bug_fieldcanchange not working without refreshing defect
Hi All,
bug_fieldcanchange function is not working/enabling without refreshing defect.
Does anybody know how to resovle this issue. My code perfectly works when I Click on refresh button for a specific defect.
HP QC 12.21
Thanks,
Bhushan
HP ALM Test Error - Input String Not In A Correct Format
Hi,
When testing in HP ALM I am able to run tests just fine for some time through the Test Lab. However, I leave and come back to my PC and perform the exact same actions - Run with Manual Runner - and it generates an error.
"Error - Input String Was Not In A Correct Format"
I am not doing anything different in any of these sessions. It appears very random. Below are the error logs:
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt32(String value)
at HP.ALM.QC.UI.Modules.TestLab.Core.ManualRunnerForm.set_FormSettings(String value)
at HP.ALM.QC.UI.Modules.TestLab.Core.ManualRunnerForm.Init(IRun run)
at HP.ALM.QC.UI.Modules.TestLab.Core.ManualRunnerForm.CheckForRunAndInit()
at HP.ALM.QC.UI.Modules.TestLab.Core.ManualRunnerForm.ShowManualRunner()
at HP.ALM.QC.UI.Modules.TestLab.Core.ManualRunnerService.RunManualRunner(Boolean useBPTRunner)
at HP.ALM.QC.UI.Modules.TestLab.Core.ManualRunnerService.RunManualRunner(IEntityList`1 testInstancesToRun, Boolean continueManualRun, Boolean useDefaultRunner, Boolean useBPTRunner)
at HP.ALM.QC.UI.Modules.TestLab.Core.ManualRunnerService.ShowManualRunner(IEntityList`1 testInstancesToRun, Boolean continueManualRun, Boolean useDefaultRunner, ICommandProvider runCommand)
at HP.ALM.QC.UI.Modules.TestLab.Views.TestSetView.RunTests(Boolean fullTestSet, Boolean isManualRunner, Boolean continueManualRun)
at HP.ALM.QC.UI.Modules.TestLab.Views.TestSetView.OnRunManuallyCommandExecute(Object sender, CommandEventArgs e)
at Mercury.TD.Client.Library.WeakEvent.EventWrapper`1.OnExecute(Object sender, T args)
at Mercury.TD.Client.Library.WeakEvent.WeakEventHandler`1.Raise(IEventWrapper eventWrapper, Object sender, EventArgs args)
at Mercury.TD.Client.Library.WeakEvent.WeakEventHandler.DoRaiseEvent(Object sender, EventArgs args)
at Mercury.TD.Client.UI.Components.Command.OnExecute(Object sender, CommandEventArgs args)
at Mercury.TD.Client.UI.Components.Command.ExecuteEventHandler(Object sender, EventArgs eventArgs)
at Mercury.TD.Client.UI.Components.ThirdParty.Toolbars.CommandButtonTool.ToolClickHandler(Object sender, ToolClickEventArgs e)
Action.Execute for MoveTo?
Hello,
I'm wondering whether I can execute the Action "MoveTo" with Action.Execute?
I know how to execute Actions like RefreshFilter... Can anyone tell me how I can use MoveTo and add the needed target (e.g. the test case that shall be selected automatically).
Many thanks and best regards
Beate
Sprinter Error - Failed to connect HP ALM, Unspecified Error
Hi,
We are facing the same issue while trying to Login Sprinter. Authentication is working fine and while logging in error message is shown as " failed to connect to ALM unspecified error." The same user credentials are working while logging into ALM directly.
Sprinter verson-12.20 ALM Version-12.
Can someone help in resolving this issue.
HP QC-Customization in Requirements module (disable the Folder option)
Hello,
In the requirements module, I would like to disable the "Folder". it will be enabled only if the user belongs to the TAAMIN group. The "folder option" can be accessed in 3 different ways. Refer the attached screenshot for details.
For all the 3 options, for UserGroups apart from TDAMIN, I was thinking of trapping the "ActionName" in the Function ActionCanExecute() and then display a message that "You do not have this access". But the user experience will not right. I would like to disable the "Folder" option, the moment the User logs in to QC.
Please suggest how can I do it for all the 3 options. Thanks!
Oracle DB script to rename User Name of users in HP QC
Hi there,
I am have engaged HP professional service to do an upgrade from v11 to v12.2. At the same time, I am integrating AD. On checking the list of users in HP QC, I found that half of the User Name is different from my AD setup. To my surprise, the professional service says he does not have scripts to do that!
Does anyone have a sample of the Oracle 11 DB script to rename the User Name value of the users in HP QC so that I can then liaise with my DBA to do the changes?
Thank you so much.
Issue connecting to TFS 2015
Hello All,
I had issues connecting to TFS 2015. I ended up finding a known issue through HP's support site:
https://softwaresupport.hpe.com/document/-/facetsearch/document/KM02568091
I followed the directions, and it stopped giving me one dll error, now it is giving me a new one. Anyone have any idea how to fix this error now?
ERROR #1- adapter.CONNECTION_FAILURE : Failed to connect to endpoint of type TFS. Error: com.mercury.qc.gossip.exp.GossipServerException: server.RemoteExecService.UNHANDLED_EXCEPTION : Unknown exception type is caught: com.hp.qc.synchronizer.adapters.exceptions.FatalAdapterException: connect: disconnected Could not load file or assembly 'Microsoft.VisualStudio.Services.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified...
ERROR #2- server.RemoteExecService.UNHANDLED_EXCEPTION : Unknown exception type is caught: com.hp.qc.synchronizer.adapters.exceptions.FatalAdapterException: connect: disconnected Could not load file or assembly 'Microsoft.VisualStudio.Services.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified..
ERROR #3- connect: disconnected Could not load file or assembly 'Microsoft.VisualStudio.Services.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
ERROR #4- AutomationException: Could not load file or assembly 'Microsoft.VisualStudio.Services.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
c# Import XPDL using OTA API/ REST API
Hello users,
I'm trying to import xpdl file to HP ALM using c#. I would like to know is there any API method available to import XPDL.
P.S: currently using OTA API, Version: HP ALM - QC 12.21. If this is possible via REST API also fine
Thanks in advance,
BR,
Nabil
Recording HPE ALM 12.5 with UFT 12.54
Hi all,
I am trying to record HPE ALM in UFT 12.5.
Its recording all the objects as SWFobject due to which I am unable to use the generic methods of the list box, edit box etc.
Any suggestions?
Thanks in Advance
Anuradha.
Recording HPE ALM 12.5 with UFT 12.5 version
Hi all, I am trying to record HPE ALM using UFT12.5. All the objects are recorded as SWFObject due to which I am unable to use the methods of some of the objects like listbox, editbox, checkbox etc
Any suggestions?
Thanks in advance
Anuradha.
How to prevent Users to create a new folder with a aspecific name with the HP ALM Workflow
Hello,
after creating a custom paper basket to prevent deleting without approval, I am facing a bug I can't solve.
I forbid creating a folder named "TrashBin" with the folowing code:
Function Req_FieldCanChange(FieldName, NewValue) On Error Resume Next Req_FieldCanChange = DefaultRes IF FieldName = "RQ_REQ_Name" AND NewValue = "TrashBin" THEN MsgBox "Item can't be named TrashBin" Req_FieldCanChange = FALSE END IF On Error GoTo 0 End Function
When I now try to create a new folder named TrashBin, I can't cancel the action with the cancel-button because it isn't reacting until I select the textfield and change the value. It seems that there is an unfinished action in the backgound which blocks the cancel button because it only happens after clicking ok and working before even after entering TrashBin.
Is there any better way to prevent naming a folder "TrashBin" (It should also work when trying to change an existing one).
Regards,
Denis
SQL query for associated Business Component in BPT Test
Hi,
Could somebody help me in SQL query to find no. of components associated with each BPT Test. I am expecting the output as below -
BPTTest Name No. Of Component Associated
BPT_Test_1 4
BPT_Test_2 5
I have written a sql which currently retrive all the tests and its components but I need to find out the way to count total number of components. The query i built is -
SELECT
TEST.TS_TEST_ID AS "TEST ID",
TEST.TS_NAME AS "TEST NAME",
BPTEST_TO_COMPONENTS.BC_ID AS "COMPONENT ID"
FROM TEST
RIGHT JOIN BPTEST_TO_COMPONENTS
ON BPTEST_TO_COMPONENTS.BC_BPT_ID = TEST.TS_TEST_ID
ORDER BY TEST.TS_NAME
Thanks,
Shakul
Upgrade QC V10 to ALM V11.5
Hi,
currently in the process of upgrading QC V10 to ALM V11.5. My users prefer the QCExplorer.exe to using IE browser. I cannot find an equivalent (ALM/QC)explorer.exe within the ALM installation or media. Does one exist for ALM V11.5 ?
I've seen a download link for ALMexplorer V12.53 here https://hpln.hpe.com/contentoffering/hp-alm-explorer-addin. Would this be backward compatable to V11.5 ?
regards
Mark G
Test Instance Attachment not shown in Project Report - HP ALM 12.01
I have created a Project Report with a section "Test Instance Attachment"
When I run the report, the section with the attachment is not present:
When I look at the Instance the attachment is present:
Br Louise
send mail - define "from mail"
Hello everybody, I am using your code to send mail to users when several attribute change on a defect.
I need to send mail with a "mail from" different from the user, for exemple "mail from": QC_Admin@pippo.ch. In the below code "strTo" and "strFrom" are always the same.
is possible to use a "mail from" different from "mail to"?
best regards,
Fea
Sub SendDefect (iObjectId, strTo, strCc, strSubject, strComment)
On Error Resume Next
Dim objBugFactory, objBug
Set objBugFactory = TDConnection.BugFactory
Set objBug = objBugFactory.Item(iObjectId)
objBug.Mail strTo, strCc, 2, strSubject, strComment
Set objBug = Nothing
Set objBugFactory = Nothing
PrintError "SendDefect"
On Error GoTo 0
End Sub
Impact of Patch 4 to the current version of QC/ALM 12.01
Hi,
We are planning to apply patch04 to the existing QC/ALM version of 12.01 as there is a company wide upgrade to Ms - Office 2016. Does anyone have any case study wherein it has been noticed that ther eis no need of applying patch 03 or patch 04 even being on Ms - Office 2016. Also if anyone can provide best practices guidelines to apply the patch apart from the HPE Guide we get in the software zip file, so that we can have a smooth patch upgrade. We have application server in windows and DB as MS-SQL Server 2012.
Thank and regards,
Tarun
How to create SLA for defects?
Hi,
Is there a way to create SLA for defects in ALM?
Thanks