Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I report defects to QC from script results
#4
Not Solved
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.
Reply


Messages In This Thread
RE: How can I report defects to QC from script results - by jsknight1969 - 03-25-2010, 09:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Launch report button missing in QC uma87 0 3,749 10-27-2011, 08:15 PM
Last Post: uma87
  Submit defects automatically from QTP to QC PallaviD 0 4,148 06-24-2011, 03:31 AM
Last Post: PallaviD
  How to export the QTP Test results in to HTML file using script venkatbatchu 9 28,380 08-12-2009, 07:18 PM
Last Post: manabh
  Problem with hardcopy on QTP report. bpyro 0 2,026 07-24-2009, 02:03 PM
Last Post: bpyro
  Fusion Report - How to combine with QuickTest Professional babyrajani 1 2,949 01-05-2009, 11:34 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)