Using HP Quality Center s API for business focused reporting door Kirsten Ceusters & Kristof Jordens. 24 november 2011. voordracht georganiseerd door



Similar documents
Scrum and Testing The end of the test role Bryan Bakker 20 maart 2012

HP ALM11 & MS VS/TFS2010

Getting Started with STATISTICA Enterprise Programming

Trouble Ticket Express

MXview ToGo Quick Installation Guide

Sunrise Acute Care (SAC) Module 1 New Provider Basic Course

Copyrighted , Address :- EH1-Infotech, SCF 69, Top Floor, Phase 3B-2, Sector 60, Mohali (Chandigarh),

HP Quality Center. Software Version: Microsoft Word Add-in Guide

STARSHIP DASHBOARD. This document will review features, functionality and setup of the Dashboard component.

HP Application Lifecycle Management

Webinar. Feb

Automate Your BI Administration to Save Millions with Command Manager and System Manager

CHAPTER 1: CLIENT/SERVER INTEGRATED DEVELOPMENT ENVIRONMENT (C/SIDE)

HP Application Lifecycle Management (ALM)

Running a Load Flow Analysis

How To Write A Powerpoint Report On An Orgwin Database On A Microsoft Powerpoint 2.5 (Pg2) Or Gpl (Pg3) On A Pc Or Macintosh (Pg4) On An Ubuntu 2.2

HelpDesk Connect Operator Manual rev. 1.0.

Hosted Voice Product Training Automatic Call Distributor (ACD)

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Executive Summary. For my VBA project I developed a Product Management Dashboard for a local software as a

2. A typical business process

SOFTWARE TESTING TRAINING COURSES CONTENTS

Test Automation Integration with Test Management QAComplete

Interskill LMS Admin Guide

Stored Documents and the FileCabinet

BUSINESS INTELLIGENCE ANALYTICS QUALITY ASSURANCE- A NEW

HP Quality Center. Software Version: Microsoft Excel Add-in Guide

Microsoft' Excel & Access Integration

Hatco Lead Management System:

STEPfwd Quick Start Guide

The data between TC Monitor and remote devices is exchanged using HTTP protocol. Monitored devices operate either as server or client mode.

Enterprise Management System (EMS) Guide

coresuite ecommerce 24h shop in the web

RESCO MOBILE CRM QUICK GUIDE. for MS Dynamics CRM. ios (ipad & iphone) Android phones & tablets

BackupAgent Management Console User Manual

State Grant Information Technology Application

ALM120 Application Lifecycle Management 11.5 Essentials

HP Quality Center. Software Version: Microsoft Excel Add-in Guide

Products that are referred to in this document may be trademarks and/or registered trademarks of the respective owners.

Computer Skills: Levels of Proficiency

Orientation Course - Lab Manual

Lab 2: MS ACCESS Tables

Magento module Documentation

1352 Blue Oaks Blvd. Suite 180 Roseville, CA (916) Arroyo Consulting Dynamic Website Storyboard

Database Automation using VBA

Example of Standard API

My Class Timetable: How to view, plan and edit your timetable online

Modern Web Application Framework Python, SQL Alchemy, Jinja2 & Flask

User Manual for Web. Help Desk Authority 9.0

CUSTOMER WORK REQUEST INFORMATION

Grant Management System Training Guide Module 1 Getting Started Accessing Your System Ver 6.1 Updated:

[Type here] CalPlanning Getting Started Guide12/28/15

How To Sync Between Quickbooks And Act

Doors User Data File Export/Import

Criminal Justice Social Work Community of Practice Subscription, registration and login manual

Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials

CHAPTER 6: ANALYZE MICROSOFT DYNAMICS NAV 5.0 DATA IN MICROSOFT EXCEL

CRM Migration Manager for Microsoft Dynamics CRM. User Guide

Active Directory Integration for Greentree

The software shall provide the necessary tools to allow a user to create a Dashboard based on the queries created.

SharePoint 2010/2013 Course

HP ALM. Software Version: Tutorial

HP Enterprise Integration module for SAP applications

Welcome to PowerClaim Net Services!

Discoverer Training Guide

Network Licensing. White Paper 0-15Apr014ks(WP02_Network) Network Licensing with the CRYPTO-BOX. White Paper

ACD CUSTOMER TRAINING. Supervisor USER GUIDE

MicroStrategy Products

HP Quality Center. Upgrade Preparation Guide

MUNIS Instructions for Logging into SaaS (ASP) Dashboard

Performance Monitor. Intellicus Web-based Reporting Suite Version 4.5. Enterprise Professional Smart Developer Smart Viewer

Fonality Report Scheduler Quick Start Guide Fonality

IA L06 No-fail Failover with Disaster Recovery Advisor

Quick Start : i-fax User Guide

INFORMATION SERVICES TECHNOLOGY GUIDE RHS STUDENT EMPLOYMENT WEB APPLICATION

Administering a Microsoft SQL Server 2000 Database

Open Access Design of a Python-based Wireless Network Optimization and Testing System

ONCONTACT MARKETING AND CAMPAIGN USER GUIDE V8.1

Integrating ConnectWise Service Desk Ticketing with the Cisco OnPlus Portal

Service Desk NODA Interaction Platforms User Manual

General Improvements for Version 7.6. New module: Enterprise Dashboard

Automating Business Processes Using SharePoint Designer

User Manual. Crystal Report Integration

Getting Started with Xactimate Professional

An Online Permit Application & Approval System

OMDC Online Application Portal (OAP) - Quick Start Guide

OWASP OWASP. The OWASP Foundation Selected vulnerabilities in web management consoles of network devices

PHYSICIAN USER EMR QUICK REFERENCE MANUAL

Service Manager 9.41 Smart Analytics Demo Script

User Manual in English. Call Center RC Elastix. For more information visit

InfoRouter LDAP Authentication Web Service documentation for inforouter Versions 7.5.x & 8.x

Administering a Microsoft SQL Server 2000 Database

The PTA s new membership website database and dues reporting system

MT4-MT4 Bridge User Guide

Link and Sync Guide for Hosted QuickBooks Files

D83167 Oracle Data Integrator 12c: Integration and Administration

Guidelines for Installing SQL Server and Client (SQL Server Management Studio)

Conference Booking Enquiry & Maintenance

This exhibit describes how to upload project information from Estimator (PC) to Trns.port PES (server). Figure 1 summarizes this process.

ScrumDesk Quick Start

Transcription:

Using HP Quality Center s API for business focused reporting door Kirsten Ceusters & Kristof Jordens 24 november 2011 voordracht georganiseerd door Discussiegroep Software Testing met de steun van Ingenieurshuis, Antwerpen

Using HP Quality Center s API for business focused reporting Kirsten Ceusters Kristof Jordens Content Introduction HP Quality Center OTA - API Test reporting needs? Demo DIY Summary & Questions 1

Introduction Content Introduction HP Quality Center OTA - API Test reporting needs? Demo DIY Summary & Questions 2

HP Quality Center Requirements module 3

Test Plan module Test Lab module 4

Defects module Fundamental Test Proces vs QC Test Planning Phase Test Plan TRH =Requirements module Test Development Phase TD s = Test Plan module Test Execution Phase Iterations = Test Lab module Defects = Defects module Follow-up Phase Progress Report Dashboard = Dashboard module 5

OTA API Open Test Architecture Application Programming Interface Integration API Manipulation API OTA API HP Quality Center Open Test Architecture API Reference.chm 6

Content Introduction HP Quality Center OTA - API Test reporting needs? Demo DIY Summary & Questions Test reporting needs? custom standard QC reporting module manual automatic 7

QC reporting Test reporting needs? custom Export to MS Excel 1 standard QC reporting module manual automatic 8

Custom reporting Custom reporting 9

Custom reporting Custom reporting 10

Custom reporting Test reporting needs? custom Export to MS Excel 2 QC API 1 standard QC reporting module manual automatic 11

Content Introduction HP Quality Center OTA - API Test reporting needs? Demo DIY Summary & Questions Demo 12

Demo - Automated process in only 4 steps Demo - Dashboard 13

Demo Defect list Demo All Reqs and TC status 14

Content Introduction HP Quality Center OTA - API Test reporting needs? Demo DIY Summary & Questions DIY What do you need? 15

DIY Report definition DIY Excel Macro Design mode Name of the routine called when pressed Name displayed on the button 16

DIY MS VBA Editor content of the xls-file source code area locals window. DIY - Compiling error > OTAClient.dll 17

DIY QC modules vs API references Main Parent OTA object = TDConnection Requirements module = ReqFactory Test Plan module = TestFactory Test Lab module = TestSetTreeManagement Defects module = BugFactory DIY (Dis)Connect Create connection to QC and log in qcserver = http://<server>[:port]/qcbin qcuser = fill in the QC user name qcpassword = fill in the user s password qcdomain = " fill in The name of the project in the Quality Center data base. qcproject = " fill in the logical group of projects in the Quality Center data base. Set tdc = New TDConnection tdc.initconnectionex qcserver tdc.login qcuser, qcpassword tdc.connect qcdomain, qcproject Disconnect project and release connection If tdc.connected Then tdc.disconnect End If If tdc.loggedin Then tdc.logout End If tdc.releaseconnection Set tdc = Nothing 18

DIY Report Defects DIY Declaration Defect fields we are intrested in Titles we want to print in the header of the Excel worksheet 19

DIY Filter Name of the projects we want the defects from Make a defect list with the specified filter Set the filter DIY Fill up array BugTable will be the array to hold the wanted data. Run through the entire bug list and only store the contents of the 8 fields we are intrested in. 20

DIY Write in worksheet Writing the header in the Excel worksheet Defect List Writing the data from BugTable-array in the Excel worksheet Defect List DIY Tip How to know what field(s) you can export out of QC s Defect list from the Defect module? 21

DIY Tip Get_Defect_fields.x ls Connect & login QC DIY Tip Link to the OTA object Write down the QC-names and the user-defined names in the Excel worksheet. 22

DIY Tip Logout of QC DIY Tip Run the macro GetAllDefectFieldsAvailableValues : Worksheet Bug fields & value : You can use these fields in the source code 23

DIY - Dashboard DIY All Reqs and TC status 24

DIY Test Lab Test Case Status Release Phase ProjectID Requirement Test Set DIY QC modules vs API references Main Parent OTA object = TDConnection Requirements module = ReqFactory Test Plan module = TestFactory Test Lab module = TestSetTreeManagement Defects module = BugFactory 25

DIY Function calls Reporting() GetTestLab(ProjectFolderList) CalculateTestCaseReport(TestLabSheet(), ReportTestCases, ReportDashboard) DIY Reporting() Declaration Get form selection: 26

DIY Reporting() Object to get Test Lab module info See next slide for info of ProjectFolderList Call of GetTestLab routine, return value copied in TestLabSheet()-array Call of CalculateTestCaseReport routine, return value copied in TestCases()-array ProjectFolderList If you unfold the other Items, the same is valid 27

DIY GetTestLab(..) DIY GetTestLab(..) 28

DIY CalculateTestCaseReport(..) CalculateTestCaseReport(TestLabSheet(), ReportTestCases, ReportDashboard) DIY CalculateTestCaseReport(..) Activate worksheet Print or update worksheet The code below this part will remove all columns with the QC internal ID s that QC needs to get all data. 29

DIY CalculateTestCaseReport(..) Activate worksheet Print or update worksheet Advantages Customized reports to specific needs Reusable code Reports are easy to create and within a few minutes Everyone can create the same report, using the same logic 30

Content Introduction HP Quality Center OTA - API Test reporting needs? Demo DIY Summary & Questions Questions? ps_testware:: HP Quality Center : kristof.jordens@pstestware.com kirsten.ceusters@pstestware.com http://www.pstestware.com jo.vannut@hp.com jsaelemakers@hp.com http://www.hp.com/software 31

MS Excel OTA Com Type Library QC Server User Form Worksheet result Macro TDConnection qcbin Input selection Reporting() InitNew() BugFactory TestSetTreeMngt InitServerConnection() Defects module TestLab module LoginUserAuthentication() ConnectDomain_Project() Create() SetFilter(Project) GetNewList(Filter) return DefectList(Project) ActivateDefectsWks() WriteDefectInfo() Fill-upArray() with interested fields Create() SetPathToTestLabFolder() return ProjectFolderList() GetProjecFolderList() ActivateOverviewWks() WriteProjReqTSetTCStatus() Fill-upArray() with interested fields and ID s CalculateTestCaseStatusRepor() Includes Project(s) Req(s) Test Set(s) TC( s) State(s) ActivateDashboardWks() WriteProjReqTSetTCStatus() Exit() ReturnFocus() DisconnectDomain_Project() LogoutUser() ReleaseServerConnection()

Consulteer onze website http://www.ie-net.be ie-net vzw Ingenieurhuis Desguinlei 214, B-2018 Antwerpen 1, Tel. 03-260 08 40, Fax 03-216 06 89, E-mail info@ie-net.be Dexia 068-2142216-95 ING 320-0843321-73 BTW BE435567909 http://www.ie-net.be