Alternative Quality Center Data Reporting and Extraction Methods

31
ALTERNATIVE QUALITY CENTER DATA REPORTING AND EXTRACTION METHODS Don Smith [email protected] Tech4Test.com

description

QC & Database Query management

Transcript of Alternative Quality Center Data Reporting and Extraction Methods

Page 1: Alternative Quality Center Data Reporting and Extraction Methods

ALTERNATIVE QUALITY CENTER DATA REPORTING

AND EXTRACTION METHODSDon Smith

[email protected]

Page 2: Alternative Quality Center Data Reporting and Extraction Methods

Methods

Excel Reports HTML App using OTA C# using OTA And any other tool or language that can

access a Dynamic Link Library (DLL)

Page 3: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports

HP User’s Guide (12 pages) SQL

Retrieve data from almost any table or test asset

Database Reference (quality_center_db.chm) Excel Visual Basic for Applications (VBA)

Format data via VBA (PivotTables, Charts, etc.)

Page 4: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Simple SQL

Page 5: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Simple SQL

Page 6: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Advanced SQL

Filtering by Test Plan Path Filtering by Test Lab Path Filtering by Release/Cycle Filtering by Other Fields

Page 7: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Test Plan SQL

Page 8: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Test Plan Path

Page 9: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Filter Test Plan

Page 10: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Filter Test Lab

Page 11: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Filter Test Lab

Page 12: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Filter Test Lab

Page 13: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Filter Test Lab

Filter by Test Set ReleaseName ReleaseCycle TestSetFolderPath

Page 14: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Filter Test Lab

Other Fields Test Set Fields can be added into the select

and where clauses Test Case Fields

can be addedbut require theaddition of the ‘Test’ table to thefrom clause andan additionalstatement to thewhere clause

Page 15: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – What’s Next

We have the data…how do we format it? What does the user of the report want? What is important to highlight? How are we going to highlight it?

Page 16: Alternative Quality Center Data Reporting and Extraction Methods

Excel Visual Basic for Applications

Excel VBA – Excel Macros Create PivotTables, Charts, etc. Create Custom Tables Summarize, Manipulate and Format Data

Page 17: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports VBA

Post-processing = Excel VBA/Macros Default gives you the “Range”

Tip: Use the “Microsoft Visual Basic for Applications” editor in Excel to create your Post-Processing code

Page 18: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports VBA – Setup/PivotTable

Page 19: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports VBA - PivotTable

On the PTSumm worksheet “PivotTable”

Page 20: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports VBA - Chart

Page 21: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports VBA - Table

Page 22: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Complex Example

Page 23: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Complex Example

Reporting by type of tests and application

Page 24: Alternative Quality Center Data Reporting and Extraction Methods

Excel Reports – Complex Example

Reporting by Iterations

Page 25: Alternative Quality Center Data Reporting and Extraction Methods

HTML Application via OTA

What is an HTML Application? Single file with HTML and Scripting included

As per Microsoft, HTAs are full-fledged applications. HTAs pack all the power of Internet Explorer—its object model, performance, rendering power and protocol support—without enforcing the strict security model and user interface of the browser.http://msdn.microsoft.com/en-us/library/ms536496(VS.85).aspx

Page 26: Alternative Quality Center Data Reporting and Extraction Methods

HTML Application via OTA

Page 27: Alternative Quality Center Data Reporting and Extraction Methods

HTML Application via OTA

Page 28: Alternative Quality Center Data Reporting and Extraction Methods

C# Application via OTA

GUI for connecting to QC

Page 29: Alternative Quality Center Data Reporting and Extraction Methods

C# Application via OTA

Test Plan view of folders and test cases

Page 30: Alternative Quality Center Data Reporting and Extraction Methods

References and Support provided by:

Sqaforums.com Forums.itrc.hp.com Msdn.com ConnectedTesting.com Other random code searches…

Page 31: Alternative Quality Center Data Reporting and Extraction Methods

Questions

Live Demo Questions

Utilities available for download at Tech4Test.com

Don [email protected]

Tech4Test.com

RawDataQuerySQLTestPlan.txt RawDataQuerySQLTestLab.txt PostProcessingVBA.txt