RJK
Newbie
Reged: 09/14/09
Posts: 16
Loc: India
|
|
Hi, I am trying to update quality center running QTP out side QC.I am using OTA to get this done.I am able to get till the Test Set.but i am not able to change the status of the test to Pass/Fail.The test in the Quality center is a Manual test and it is having no steps in it.
this is Pretty [stupid is as stupid does] and if any of u can share code or tell me how to achieve would be of great help
Thanks
|
dotTRM
Member
Reged: 06/04/09
Posts: 162
|
|
[thread moved from AutomatedQA TestComplete forum]
You've posted in the wrong forum, so don't be surprised if the Admin removes your post. Anyway to answer your question regarding QC, you need to create a automated script out of the manual test. Also, if you are using QTP as automation tool, you need to install the plugin for it in HP-QC.
Anyway to create a automated test :
1. Choose the manual test you want automated (from test plan tree)
2. Click on the Design Steps tab and click Generate Script button
3. Choose QUICKTEST_TEST as the auotmated test type (again, you need to install the plugin otherwise this won't be enabled)
4. Click the Test Script tab to view the test script. This is just a template, and you still need to fill in the details.
5. To edit the script, click Launch button. This will open it in QTP so you can start editing your test script.
dotTRM
Edited by Robert Martin (09/17/09 04:27 AM)
|
RJK
Newbie
Reged: 09/14/09
Posts: 16
Loc: India
|
|
Hi,
Many thanks for your reply but we dont have HP-QC plugin on my work station.So i am Planning to implement Using OTA(Open Test Architecture) in QC. Any more inputs or any sample script of updating the run status in a testset using OTA could be of great help.
Thanks
|
PathToddler
Newbie
Reged: 06/17/09
Posts: 7
Loc: New Jersey, USA
|
|
We have implemented as follows - 1. Get MQC Test Object using the TSTTestSetFactory Object 2. For each test call RunFactory and Add item to test to update the status.
|
imranfints
Newbie
Reged: 09/13/10
Posts: 3
|
|
HI,
i have went till updating Test step status as Passed/Failed but i cannot able to update overall status as passed/Failed it is throwing as error as "You do not have permission to do this action" this has stopped my flow of my work... what shd i need to do to rectify this erorr and update this status to QC.
i am using VB.NET and also Excel Macro VBA simultaneously.
Thanks in Advance H. Mohammed Imran
|
Brendan Dick
Junior Member
Reged: 07/20/05
Posts: 352
Loc: Melbourne, Australia
|
|
It doesn't matter if the script is automated or manual and you can update the test instance status directly without creating a run. Just update the status and post the test instance to make the update stick.
Cheers, Brendan.
|