Question : VBA to retrieve same defects retrieved by a Quality Center Favorite

I'm creating reports for Quality Center in Excel.  I can retrieve all the defects using BugFactory without any problem using VBA.  I want to only retrieve the defects that match a Favorite.

For example, I have a favorite called MyOpenDefects.  Is there a way to retrieve the settings associated with that specific favorite so I can execute it in VBA?

Answer : VBA to retrieve same defects retrieved by a Quality Center Favorite

QualityCenter provides a COM interface.  BugFactory is one of it's objects that returns defects.  BugFactory doesn't appear to take a user's saved search definition so that it only returns those defects that match the search criteria.  As a workaround, I wrote code to parse the search definition and apply the correct filter and sort criteria.  That allows me to use the QualityCenter interface to define my searches.
Random Solutions  
 
programming4us programming4us