03-22-2010, 07:39 PM
Is there a way to create defects on QC from test results? In case if a certain test fails a defect is opened reporting it on QC.
How can I report defects to QC from script results
|
03-22-2010, 07:39 PM
Is there a way to create defects on QC from test results? In case if a certain test fails a defect is opened reporting it on QC.
03-23-2010, 12:52 PM
You need to connect QTP with QC. This guide may be of some help.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
03-23-2010, 03:13 PM
Thanks Ankur for your quick reply. However, I already have QTP connected with QC and have my scripts uploaded to QC. What I want to know is how to open defects if after running a script and some errors were found?
03-25-2010, 09:35 PM
In QTP under Tools/Options there is a setting to "Submit Defect to QC for each failed step". Set that. That will automatically create defects if steps fail. If you need to manually report a failure use:
Code: Reporter.ReportEvent micFail, "Step", "Reason With the defect option set, that will create defects when you manually create a failed point. you can also use: Code: Services.SetTransactionStatus Fail This will fail a step as well and create a defect if the option is selected. I hope this is what you were interested in.
07-22-2010, 05:21 PM
I'm able to connect to QC manually and report defects from the Test Results manually, but all what is written in the defect is the path of the test itself. What I need is to be able to customize what's written in the defect (or at least to include what's in Test Result)
Any help?
07-22-2010, 06:45 PM
Okay, I got now how to create a defect from QTP using
Code: Dim QCConnection But there're some fields I can't alter, such as: Build, Team Lead, QA Responsibility, Status Detail. Anyone know how to change the values of the mentioned fields? (tried using Code: Bug.field("BG_Team_Lead") |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Launch report button missing in QC | uma87 | 0 | 3,526 |
10-27-2011, 08:15 PM Last Post: uma87 |
|
Submit defects automatically from QTP to QC | PallaviD | 0 | 3,842 |
06-24-2011, 03:31 AM Last Post: PallaviD |
|
How to export the QTP Test results in to HTML file using script | venkatbatchu | 9 | 27,013 |
08-12-2009, 07:18 PM Last Post: manabh |
|
Problem with hardcopy on QTP report. | bpyro | 0 | 1,772 |
07-24-2009, 02:03 PM Last Post: bpyro |
|
Fusion Report - How to combine with QuickTest Professional | babyrajani | 1 | 2,617 |
01-05-2009, 11:34 PM Last Post: Ankur |