04-24-2014 01:01 AM
Can anybody give me a hint over here please? I am trying to update a status of a test in test lab set via REST API. I have no problems creating a run and updating an exec-status value of the test i intend to change. Responsed of my requests prove that change has been commited, but for some reason HP QC execution grid shows still old status. If i open a test i can see my last run created via REST API, but no change on level of test in execution grid at all.
Solved! Go to Solution.
04-25-2014 02:34 AM - edited 04-25-2014 08:53 AM
Ok, another observation:
If I update <Field Name="exec-status"> to something lets say Passed, REST response shows that it was successfully updated. However if i look at the execution grip view Status still holds old value, but (and this is weird), Test: Execution Status field has been updated instead.
If you create a report in dashboard on top of tests this report shows new value, but execution grid and also email from execution grid shows old value. What is happening? How come REST API is updating Test Instance entity instead of Test entity?
As per field description it should update TS_EXECUTION_STATUS, but seems TC_STATUS is updated instead.
<Field PhysicalName="TS_EXEC_STATUS" Name="exec-status" Label="Execution Status">
Still no suggestion?
04-29-2014 07:10 PM
I am new to HP ALM and my requirement is to update test execution status.
Could you share code to update a status of a test in test lab set via REST API?
05-02-2014 02:39 AM
Thank you for making me see! All works like a charm now.
05-02-2014 06:29 AM
Congratulation you got solution.
Kind request please share code for me as it is very urgent.
mail id - firstname.lastname@example.org
06-30-2014 03:01 PM
I seem to be having a very similar issue. First I create a new Run. Then I update the test-instance and it modifies the status on the Execution Grid, but it also adds another "Run" to the list of Runs for that test instance. (it's called "Fast_***")
from test-instance I update: exec-date,exec-time, status, actual-tester.
What entity are you changing for the status to be updated? Do you get a second run added to the test-instance details?
09-21-2014 10:11 AM
I have similar requirement to update Test script status (PASS\FAIL)in Test Lab in QC ALM in my project. Could you plase help me with the code and steps.
04-06-2015 06:07 AM - edited 04-06-2015 06:08 AM
I am facing same issue that i can create a run id (by POST method) and run id is getting generated successfully.
But when i go to ALM Test lab, the Run and status are not created. Looks like my POST is not saving the run.
I also tried to update the runid by PUT method, but its not reflecting in test lab.
Can you please give more info on how you could fix the issue? please mail me at email@example.com