Krrishna
Member
Reged: 11/11/07
Posts: 200
Loc: Beautiful 'INDIA'.
|
|
Hi,
In my project we have to update (status as Passed or Failed) the testcase execution results for a particular test case in a test set from TestLab of Quality Cneter 9.2.I am using Excel Macros to connect to Quality Center 9.2.I am using OTA API classes of Quality Center 9.2 to connect to it.
The problem we are facing is when we set the status of testcase to Passed or Failed directly Its not reflecting to step level .We can only see the overall status as passed or failed whichever we set.At step level the status is still No Run .
And also in some test cases we have to set the status in a testcase for some steps as passed and for some other as failed.In this case how do i do that.
I did make a search in the forum but i didnt find anything helpful regarding this query.
It would be really greatful if somebody can help me on this?Many Thanks in Advance.
The code that i have used at testcase level is theTest.Status = "Passed" theTest.Post
theTest is an object i filtered in TestSet with the name of the Test or test case. I cannot post the full code here.
-------------------- Regards,
Krrishna
Edited by Krrishna (03/15/08 04:07 AM)
|
Krrishna
Member
Reged: 11/11/07
Posts: 200
Loc: Beautiful 'INDIA'.
|
|
Is there any class and/or methods to select "Pass All" and "Pass Select" from API's of Quality Center?I am trying hard to do this.
Nowhere i found any solution.
Any answers for this query and for my previous query?
-------------------- Regards,
Krrishna
|
Krrishna
Member
Reged: 11/11/07
Posts: 200
Loc: Beautiful 'INDIA'.
|
|
hi all,
I was able to resolve both the issues after i contacted QC Admin.It was an issue with the priviliges.Nothing wrong wit h my code.
I have used QC API's to work with Quality Center using vb scripting.WE can update the status at test case level and also at step level.
-------------------- Regards,
Krrishna
Edited by Krrishna (03/26/08 10:56 AM)
|
Jqtp
Member
Reged: 08/03/08
Posts: 46
|
|
Hi Krishna,
Dont HiJack threads...!
Jaya.
Edited by FordsRock (08/24/08 07:35 PM)
|
RajeevUpadhyay
Newbie
Reged: 03/25/09
Posts: 2
|
|
Hi Krishana,
I have the same requirement. I would appriciate if you can guide me in this or can share your code for my reference.
Thanks in advance,
Rajeev
|
rscholz660
Super Member
Reged: 12/05/06
Posts: 1556
Loc: Germany, Dresden
|
|
you have to use the Run-object AND the StepFactoryObject to do this...
1.) create a new run 2.) set status for each step of your test in the new run 3.) set the test status after all
look into the ota api reference guide how to implement it in VB
-------------------- http://qcmt.pc-polis.de
de omnibus dubitandum
For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this
|
abaya1423
Newbie
Reged: 03/11/08
Posts: 7
|
|
Hi Krishna,
I defenitly need your help in this regard. I have the same requirement in my project to execute the testcases from Excel. Please reply with the code that you are using or send me any sample file you have.
Your help would be much appreciated. If you want to send through email, please do so anandjames.antony@gmail.com
Regards, Anand
|
Mayoo
Newbie
Reged: 11/28/08
Posts: 14
|
|
Hi Krishna . I am looking for the same code but all i want is to get the test name, status and excution date into excel. please send me the code nmayooran@gmail.com
thanks alot
|
simsol
Newbie
Reged: 10/21/09
Posts: 3
|
|
Hi,
Was any one able to get this to work. I am looking to do the same thing. Having issues creating the run. If any one has a working script please send to gotosreny at yahoo.com
|
Nandhini_Vimalan
Newbie
Reged: 02/10/10
Posts: 1
|
|
Hi Krishna,
I am looking for same solution. Can you please share the code to me?
Thanks in advance
Edited by Tarun Lalwani (02/10/10 09:41 AM)
|
Jonty
Super Member
Reged: 01/17/07
Posts: 1267
Loc: India
|
|
Can people refer OTA guide that comes along with QC?
Expecting a ready code would not help anyone.
Rscholz660 has already provided the flow of the code at a high level Also looking into the QC/TD forum and for OTA would solve the purpose.
-------------------- Cheers
Jonty..
-- Here to Learn and share ---
|