Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I report defects to QC from script results
#6
Not Solved
Okay, I got now how to create a defect from QTP using
Code:
Dim QCConnection

Set QCConnection = QCUtil.QCConnection

'Get the IBugFactory

Set BugFactory = QCConnection.BugFactory

'Add a new, empty defect

Set Bug = BugFactory.AddItem (Nothing)

'Enter values for required fields

Bug.Status = "New"

Bug.Summary = "New defect"

Bug.DetectedBy = "admin" ' user that must exist in the database's user list

'Post the bug to the database ( commit )

Bug.Post

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")
but didn't work
Reply


Messages In This Thread
RE: How can I report defects to QC from script results - by BullzEyezz - 07-22-2010, 06:45 PM

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,771 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

Forum Jump:


Users browsing this thread: 1 Guest(s)