HP Quality Center Logging
Re: HP Quality Center Logging
....btw, another option is to trigger from QC directly , check out http://soft-test-tech.co.uk/2011/10/tri ... s-from-qc/
Re: HP Quality Center Logging
Thanks Scott, let me try to look into the new API. This is something that I have already did many times before and found this message weird too!
I did try to see a few examples online and they are all the same. Some say that the Test Name might contain spaces, but no. My test name has no spaces in it.
Anyway, let me check more options!
I did try to see a few examples online and they are all the same. Some say that the Test Name might contain spaces, but no. My test name has no spaces in it.
Anyway, let me check more options!

Re: HP Quality Center Logging
yes... I'm triggering the script from QC and that works fine. I'm trying to upload result log to QC.
Re: HP Quality Center Logging
Hi,
I am facing a small issue with the code.Its not adding the test case to test lab when i selected the test lab in QC or else it perfectly adding the test case to the test set in the lab. Its giving message as failed to post test.
Any suggestions..?
Regards,
Suman
I am facing a small issue with the code.Its not adding the test case to test lab when i selected the test lab in QC or else it perfectly adding the test case to the test set in the lab. Its giving message as failed to post test.
Any suggestions..?
Regards,
Suman
-
- Posts: 1
- Joined: Tue Mar 20, 2012 9:00 am
Re: HP Quality Center Logging
Hi
Could you please provide me same code using C#
Thanks
--Naren
Could you please provide me same code using C#
Thanks
--Naren
-
- Posts: 2
- Joined: Fri Sep 07, 2012 5:43 am
Re: HP Quality Center Logging
Hey SDALY,
Mate thanks for your post, I have been stuck for days on this exact code, I searched everwhere for a solution to why I was having problems with my .additem, everyone is using vb or vbscript to do this and of course they use .additem(null). I tired vbnull, dbnull, "", nothing, null objects everything! I finally found your post (should have started in this forum) and tried your system.dbnull.value and it fixed my issue in 1 minute that took me days..
because of your code I am now able to execute ranorex tests from my framework, then upload the run and test results to ALM.
Thanks again,
jim
Mate thanks for your post, I have been stuck for days on this exact code, I searched everwhere for a solution to why I was having problems with my .additem, everyone is using vb or vbscript to do this and of course they use .additem(null). I tired vbnull, dbnull, "", nothing, null objects everything! I finally found your post (should have started in this forum) and tried your system.dbnull.value and it fixed my issue in 1 minute that took me days..
because of your code I am now able to execute ranorex tests from my framework, then upload the run and test results to ALM.
Thanks again,
jim
Re: HP Quality Center Logging
You are welcome Jim. Glad you found it useful 

Re: HP Quality Center Logging
Old post, but I found this very helpful. Some have asked for the code in C#, which is what I am writing my scripts in, so I had to update sdaly's code to work with C#. I tested this and it updates the overall run status in QC, but the code for attaching the Ranorex report file is commented out because "application.StartupPath" doesn't seem to work.
I'm going to try and implement updating actual test steps, and if I accomplish that I'll post the code here.
I'm going to try and implement updating actual test steps, and if I accomplish that I'll post the code here.
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: HP Quality Center Logging
Hi livelyjay,
Thank you very much for your effort. We really appreciate that.
Regards,
Robert
Thank you very much for your effort. We really appreciate that.
Regards,
Robert