Excel Report - Test Plan Report



Similar documents
Microsoft SQLServer Restore / Redirected Restore Procedure

Run ALM Test Sets from VB script

BackupAgent Management Console User Manual

Online Backup Management Console 3.8 User Manual

MONAHRQ Installation Permissions Guide. Version 2.0.4

Business Portal for Microsoft Dynamics GP Field Service Suite

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

Configuration Guide for SQL Server This document explains the steps to configure LepideAuditor Suite to add and audit SQL Server.

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

User Manual. Crystal Report Integration

COGNOS REPORTING SYSTEM USER GUIDE

Migrating helpdesk to a new server

TS2Mascot. Introduction. System Requirements. Installation. Interactive Use

BSDI Advanced Fitness & Wellness Software

Spambrella SaaS Encryption Enablement for Customers, Domains and Users Quick Start Guide

Setting up SMTP in Talis Decisions

Search help. More on Office.com: images templates

Financial Reporting Using Microsoft Excel. Presented By: Jim Lee

How to Copy A SQL Database SQL Server Express (Making a History Company)

How to Backup and FTP your SQL database using E2.

TROUBLESHOOTING GUIDE

Excel Dashboard. Scott Witteveen (517)

Company Setup 401k Tab

EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports

Business Portal for Microsoft Dynamics GP User s Guide Release 5.1

3dCart Shopping Cart Software V3.X Affiliate Program Guide

OLAP Cube Manual deployment and Error resolution with limited licenses and Config keys

Google Integration Instructions

Adeptia Suite 6.2. Application Services Guide. Release Date October 16, 2014

ORACLE USER PRODUCTIVITY KIT USAGE TRACKING ADMINISTRATION & REPORTING RELEASE 3.6 PART NO. E

Using Internet or Windows Explorer to Upload Your Site

ICE for Eclipse. Release 9.0.1

ONLINE BACKUP S e r v i c e s USER MANUAL. Eljes Online Backup Management Console 3.8

Admin Guide Hosting Control Panel Secure Mail

Using a Remote SQL Server Best Practices

DocAve 4.1 Backup User Guide

Business Portal for Microsoft Dynamics GP Key Performance Indicators

MicrosoftDynam ics GP TenantServices Installation and Adm inistration Guide

3dCart Shopping Cart Software V3.X Rewards Points Guide

How to Setup SQL Server Replication

Connection to USOE Terminal Server 3/30/2006

Configuring FortiVoice for Skype VoIP service

Content Management System (CMS) Training Document for LexisNexis Web Visibility Websites. October 6, 2013

EventTracker: Configuring DLA Extension for AWStats report AWStats Reports

0651 Installing PointCentral 8.0 For the First Time

TechNote. Contents. Overview. System or Network Requirements. Deployment Considerations

Lepide Active Directory Self Service. Installation Guide. Lepide Active Directory Self Service Tool. Lepide Software Private Limited Page 1

PCSchool SQL Backup Tech Tip. SQL Backup Tech Tip. Created in version /9

Deploying the Workspace Application for Microsoft SharePoint Online

PUBLIC. How to Use in SAP Business One. Solutions from SAP. SAP Business One 2005 A SP01

USER GUIDE Appointment Manager

Resources You can find more resources for Sync & Save at our support site:

Microsoft Access Rollup Procedure for Microsoft Office Click on Blank Database and name it something appropriate.

Security Explorer 9.5. User Guide

HART Demo Installation Guide

Guide to Using Citrix at SLU (Windows)

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

Sage HRMS 2014 Sage Employee Self Service Tech Installation Guide for Windows 2003, 2008, and October 2013

StruxureWare Power Monitoring In-Place Upgrade Guide SQL Server Standard Edition Only

How to Set Up a Shared SQL Express Database with ManagePro 7 Standard version

The Online Health Program Planner Part 1: Beginner's Guide

Microsoft Dynamics GP Audit Trails

Contents Notice to Users

Cloud Services ADM. Agent Deployment Guide

Microsoft Dynamics GP. Audit Trails

Web Remote Access. User Guide

Moving the TRITON Reporting Databases

Microsoft Power BI for Office 365 Provisioning Guide

Symantec Mobile Management for Configuration Manager

How to build Dashboard - Step by Step tutorial/recipe

ManageMyHealth SMS Text Message Service User Guide. Medtech32. Version 20.0 (March 2012)

ICP Data Entry Module Training document. HHC Data Entry Module Training Document

Lepide Software. LepideAuditor for File Server [CONFIGURATION GUIDE] This guide informs How to configure settings for first time usage of the software

Tuning poor performing SQL s Using Oracle 10g Enterprise Manager s Automatic SQL Tuning Advisor

Amadeus Customer Extranet. Registration and Billing Services User Guide

Configuring the NetBackup 7.7 Cloud Connector for use with StorReduce

Assigning Lump Sum Payment Plan to Student Account

Microsoft Dynamics GP. SmartList Builder User s Guide With Excel Report Builder

COMOS. Lifecycle COMOS Snapshots. "COMOS Snapshots" at a glance 1. System requirements for installing "COMOS Snapshots" Database management 3

Web based training for field technicians can be arranged by calling These Documents are required for a successful install:

mylittleadmin for MS SQL Server Quick Start Guide

AJ Shopping Cart. Administration Manual

Configuring Situation Events in Action Manager for WebSphere Business Monitor Version 6.0

Transferring Your Hosting Account

Business Portal for Microsoft Dynamics GP. Project Time and Expense Administrator s Guide Release 10.0

COLLABORATION NAVIGATING CMiC

IS466 Decision Support Systems. SQL Server Business Intelligence Development Studio 2008 User Guide

How To Integrate An Ipm With Airwatch With Big Ip On A Server With A Network (F5) On A Network With A Pb (Fiv) On An Ip Server On A Cloud (Fv) On Your Computer Or Ip

EXCEED IEP Goals Product Screen

Symantec Backup Exec Management Plug-in for VMware User's Guide

Specops Command. Installation Guide

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Customer Order Portal Created on 9/24/ :45 PM

NEXT Analytics User Guide for Facebook

Admin Guide Hosting Control Panel Active Directory (AD) Synchronization

Objectives. Understand databases Create a database Create a table in Datasheet view Create a table in Design view

Transcription:

Summary This Excel Report example demonstrates the use of Dashboard Excel Report Feature to create a lists of tests for a project. This example assumes you are a Project Administrator with programming skills, proficient in vbscript and Quality Center objects and methods. **NOTE** It is necessary to read and follow the Disclaimer section at the end of this document. Implementation STEP 1 SQL Query Tab 1) Navigate to Dashboard / Analysis View 2) Create a new Excel Report 3) Navigate to the Query tab. 4) Copy the following SQL to the Query area. SELECT TEST.TS_TEST_ID /*Test.Test ID*/,TEST.TS_PATH as "Subject" /*Test.Test Path*/,TEST.TS_NAME as "Test Name"/*Test.Test Name*/,TEST.TS_TYPE as "Test Type" /*Test.Type*/,DESSTEPS.DS_STEP_NAME as "Step"/*Test Step.Step Name*/,DESSTEPS.DS_DESCRIPTION as "Step Description" /*Test Step.Description*/,dESSTEPS.DS_EXPECTED as "Expected Result" /*Test Step.Expected*/ FROM TEST /*Test*/, DESSTEPS /*Step*/ WHERE TEST.TS_TEST_ID = DESSTEPS.DS_TEST_ID Page 1

STEP 2 Post Processing Tab 1) Click the Post-Processing tab 2) Click the Run post-processing checkbox. 3) Replace any existing code with the following. Modify the LoginToQC subroutine for your own environment. Dim tdc Dim server Dim domain Dim project Dim projusername Dim projpassword Sub LoginToQC 'Modify for your own Environment server = "http://qcserver:8081/qcbin/" domain = "Default" project = "QualityCenter_Demo" projusername = "qcadmin" projpassword = "qcadmin" tdc_login Sub QC_PostProcessing() Dim MainWorksheet As Worksheet ' Make sure your worksheet name matches! Set MainWorksheet = ActiveWorkbook.Worksheets("Query1") Dim DataRange As Range Set DataRange = MainWorksheet.UsedRange ' Now that you have the data in DataRange you can process it. LoginToQC totalrows = MainWorksheet.UsedRange.Rows.Count col = 1 'Test Id is in column 1 For x = 1 to totalrows-1 CelVal = Tests_Path(MainWorksheet.Cells(x+1, col).value) MainWorksheet.Cells(x+1,col+1).Value = CelVal Next x ResizeSheet LogoutOfQC Function tdc_login() Page 2

Set tdc = CreateObject("tdapiole80.tdconnection.1") MsgBox " 0 - Create: " & Err.Description tdc.initconnectionex Server MsgBox " 1 - InitConnectEx: " & Err.Description tdc.login projusername, projpassword MsgBox " 2 - Login: " & Err.Description tdc.connect CStr(domain), CStr(project) MsgBox " 2 - Login: " & Err.Description End Function Sub LogoutOfQC If tdc.connected Then tdc.disconnect If tdc.loggedin Then tdc.logout tdc.releaseconnection Set tdc = Nothing Excel Report - Test Plan Report Function Tests_Path(TESTID) Set com = tdc.command com.commandtext = "Select ts_subject from test where ts_test_id=" & CStr(TESTID) Set RecSet = com.execute subjectid = RecSet.FieldValue("TS_SUBJECT") Set mytmng = tdc.treemanager myspath = mytmng.nodepath(subjectid) Tests_Path = myspath End Function Sub ResizeSheet() 'Bold Titles in First Row Page 3

Rows("1:1").Select Selection.Font.Bold = True 'Stip to ensure Tests are added underneath "Subject" Columns("B:B").Select Selection.Replace What:="Subject\", Replacement:="" 'Size Columns Cells.Select Selection.Columns.AutoFit Range("A1").Select STEP 3 Generation Settings Tab 1) Click the Generation Settings tab 2) Change the Status to Ready STEP 4 Generate the Report Click the Generate Icon to create the report. Keywords Test Plan, QualityCenter, Excel Reports, Dashboard, Analysis, Path, Steps Disclaimer While this example may meet the needs of your organization, the sole responsibility for modification and maintenance of the logic is yours and NOT that of the Support Organization. The decision to use the information contained herein is done at your own risk. The support organization is NOT responsible for any issues encountered as a result of implementing all or any part of the information contained or inferred herein. The intent of the information provided here is for educational purposes only. As such, the topics in this document are only guidelines NOT a comprehensive solution, as your own environment will be different. This example DOES NOT state or in any way imply that the information conveyed herein provides the solution for your environment. The appropriate system technical resources for your enterprise should perform all customization activities. Page 4

Best Practice dictates NO direct changes to be made to any production environment. It is imperative to perform and thoroughly validate ALL modifications in a Test Environment. Use the results and knowledge garnered from the Test Environment experience to create a customized Production Deployment Plan for your own environment. Always ensure you have a current backup before implementing any solution. Page 5