Hi Christina!
I have the same problem as yours.
Did you solve this issue? Can you please give the VBscript code to download the attachments of all test runs?
Hi Christina!
I have the same problem as yours.
Did you solve this issue? Can you please give the VBscript code to download the attachments of all test runs?
"User" will not refer to BG_RESPONSIBLE, but to the user currently logged in. The code you have now will change randomly each time any field in a bug is modified. Try this instead:
Sub Bug_FieldChange(FieldName) If FieldName = "BG_RESPONSIBLE" Then responsible = Bug_Fields("BG_RESPONSIBLE").Value If TDConnection.Customization.Users.User(responsible).IsInGroup("Business User") Then Bug_Fields("BG_USER_21").Value = "Business Team" Else Bug_Fields("BG_USER_21").Value = "Supplier" End If End If End Sub
The Steps are not included in the baselines since they belong to Runs.
But when you create a Steps field, a corresponding Design Step field will be automatically created. So there should be a DS_USER_07, and that should be automatically included in the baseline.
Hi - Thanks for your response, I get an error message as below.
Object doesn't support this property or method: 'TDConnection.User':
Hi,
Iam trying to Integraete soapui and QC using QC restapi.
Problem is iam able to connect and acces defects and testinstance is, But problem is iam not able to attach the file or img to QC using rest api.
Request:
POST https://qc.nam.nsroot.net:650/qcbin/rest/domains/GCT_GLOBAL/projects/AAP_Release_IUT_2017/defects/77/attachments HTTP/1.1
Accept-Encoding: gzip,deflate
Cookie: QCSession=NjI1NjY3MzM7UHRPeEJKSkdlQ0ptaDMwTUwyWEJ0USoqO1JFU1QgY2xpZW50OyA7IA..;Path=/;HTTPOnlyLWSSO_COOKIE_KEY=RnzmaMfNllAPct8aOJ3DAKZ9oJWafN1wWVnAlfmdyDD-O0k38TQYB8IfEYEYxlXMS0kNqBE9WTnR9muy71YUCkoja-_130d08mFyc4d9R30zJvl5rejSrVkHWi8SJbln4T81GGaxHIPWKYWhzf-eftfvySEFOPikR4W4tShrULqFEiij772v2uCUZWoTPBRdWnOFmCFq1hNJ8iAE0g2iBx6SKp46oJzSCwgFTyUZPV4.;Path=/;HTTPOnly
Content-Type: multipart/form-data; boundary="----=_Part_47_1511739743.1493373951945"
MIME-Version: 1.0
Content-Length: 189
Host: qc.nam.nsroot.net:650
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
------=_Part_47_1511739743.1493373951945
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-Disposition: form-data; name="File"; filename="sample.log"
Response:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>String index out of range: -1</title>
<link rel="stylesheet" type="text/css" href="/qcbin/rest-exception/rest-exception.css"/>
<script type="text/javascript" src="/qcbin/rest-exception/rest-exception.js"/>
</head>
<body>
<div id="banner">
<img src="/qcbin/rest-exception/hp-logo.png" id="banner-logo"/>
<h3 id="banner-title">HP Application Lifecycle Management</h3>
</div>
<div id="content-holder">
<h1>String index out of range: -1</h1>
<div>
<tr>
<td>
<a id="exception-id-title">Exception Id:</a>
</td>
<td>qccore.general-error</td>
</tr>
</div>
<a id="more-details-label" style="display:none" href="#" onClick="javascript:toggleDetails()">
<h3>Show Details</h3>
</a>
<div id="details-holder" style="display:none">
<div style="display:none">
<h4>Exception Properties:</h4>
<div/>
</div>
<div style="display:none">
<h4>Stack Trace:</h4>
<div/>
</div>
</div>
</div>
</body>
</html>
Hi All,
In one of the project, we are not able to execute the new TestSets, as soon as select /hightlight the Test Instance and / or try to execute users getting error "Failed to Get Run Value".
This issue is happening for new test sets (so far Test Instance is not executed single time), in the same project we are able to execute old Test Sets without any issues.
Have remove the data (Test Cases from Plan) and Re Uploaded and pulled into Test Lab but the issue is occuring.
Error Details:-
System.NullReferenceException: Failed to Get Run Value
at Mercury.TD.Client.Ota.QC9.ITSTest3.get_LastRun()
at HP.ALM.QC.OTA.Entities.Core.TestInstance.get_LastRun()
at HP.Sprinter.QcClient.UI.SprinterPlugin.OnCommandsUpdated(Object sender, CommandsUpdatedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Mercury.TD.Client.UI.Core.Services.CommandManagerService.OnCommandsUpdated(Object sender, CommandsUpdatedEventArgs args)
at Mercury.TD.Client.UI.Core.Mvc.BaseViewControl.OnCommandsUpdated(Object sender, CommandsUpdatedEventArgs args)
at Mercury.TD.Client.UI.Core.Mvc.BaseViewControl.DoUpdateCommands()
at HP.ALM.QC.UI.Modules.TestLab.Views.TestSetViewControl.DoUpdateCommands()
at Mercury.TD.Client.UI.Core.Mvc.BaseViewControl.UpdateCommands()
at HP.ALM.QC.UI.Modules.TestLab.Views.ExecutionGridViewControl.DoUpdateCommands()
at Mercury.TD.Client.UI.Core.Mvc.BaseViewControl.UpdateCommands()
at Mercury.TD.Client.UI.Core.Mvc.BaseView.Enter()
at Mercury.TD.Client.UI.Core.Mvc.Controller.set_Active(Boolean value)
at Mercury.TD.Client.UI.Core.Mvc.BaseView.Enter()
at HP.ALM.QC.UI.Modules.TestLab.Views.TestSetView.Enter()
at Mercury.TD.Client.UI.Core.Mvc.BaseView.set_Active(Boolean value)
at Mercury.TD.Client.UI.Core.Mvc.BaseTabControllerStrategy.OnSelectedTabChanged(Object sender, SelectedTabChangedEventArgs e)
Thank you again for sharing the detail about the field mapping. Yep, now I have exactly similar to yours. It helped alot.
However, about the issue with sync if the user doesnot exist in jira project, its still an mess.
In my jira env, user have to have log in to jira project inorder to make their ID active in jira project. And its a pain cause not all user do log into jira.
My main bug tracking platform is ALM, but will be using jira just as a starter tool for a company to load Bug in near future. So I may not have all ALM users actively log into jira project.
Hello,
test error wmi:
Error: class not registred
Why?
Windows NT
I would like to transfer some of the folders under Test plan > subject in one domain to another domain in ALM. Can some one provide detailed steps for this? Thanks in advance.
> unable to open link
This is a link into a previous version of the forum. The info is there, you just have to search for it. Or look for all posts by
https://community.hpe.com/t5/forums/recentpostspage/post-type/message/user-id/596556
Hi there,
Did you manage to get an answer to your question?
Hi all,
I have been trying to pull test cases from HP ALM via the rest api - When doing so, I get a 401 error. the error also recommend appending '?login-form-required=y' which is not a solution for my issue as I am trying to retrieve test cases with an automated script (using PUP
I have followed the next steps:
1. Authenticate - when doing the authentication I have received the LWSSO_COOKIE_KEY.
2. Created a session using '/rest/site-session' - Did not get any particular error in that stage.
3. Verified authentication using /rest/is-authenticated' - I did get a response with my username.
HERE'S MY PROBLEM:
4. Retrieving test data using '/rest/domains/<MYDOMAIN>/projects/<MYPROJECT>/tests?page-size=20'
When making the curl request I am getting a 401 error saying authentication failed.
Here's the code I have been using for it.
<?php
$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET"); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_COOKIE, $LWSSO_COOKIE_KEY); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 300); $data = curl_exec($ch); curl_close($ch);
?>
Will appreciate your help.
Thanks!
Hi,
I already have UFT for recording purposes, but is there a reason to start recording in Sprinter and export its tests to UFT? What are advantages of Sprinter over UFT?
I couldn't find any answers on this site or search engine, hope to see some opinions here from experienced users.
Thanks,
Lada
Thanks for the input Jan.
The baseline does not appear to contain custom fields from the source design step, here is the verification for the baseline import and the custom field is not there
however ... something that has just occured to me is that the destination project does not have that custom field, so I was actually expecting the operation to fail, it MAY be that the import is verifying and rejecting the custom field but not failing because its not a fatal error.
The source project is not based on a template, the target project is, I am a bit reluctant to change the template but this could well be the explanation.
Ed.
Am I being blind here or does design step not occur as a customizable project entity? The fields exist in the database, apparently, according to the 12.53 database reference there are six user fields on design step but I cannot locate a mechanism to define them.....
Looking into my source project yes, there is a DS_USER_07 field that contains the SQL query for the step. This has been created, clearly, as a clone of the ST_USER_07 field which CAN be defined in the project entities customization.
Maybe the resulting DS_USER_07 is not erxported by the library because it only expects 6 user fields on design step.
The situation remains that I cannot identify how to define and populate DS_USER_nn through the UI.
Hi,
I have installed a trail version of HP ALM. I am trying to see the options in Project Customization page. But I do not see the all the options like Project Users, Groups and Permissions. etc.. I am only getting User Properties.
I have tried with normal user as well as with admin user.
Can you please help me to retreive the remaining options ?
Thank you for your help.
I just wonder how do you extract the value of target cycle from cycle (testset) folder or testcycle? I looked at the API OTA online, it says that the datatype is variant. I viewed in the object viewer of Visual Studio, it is dynamic type. I have tried to cast its to either string or integer, however it just returned NULL. I know there are target cycle values on a same testset that I can view on the ALM UI or in my Query Builder.