11
© 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

Embed Size (px)

Citation preview

Page 1: © 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant

© 2014 Cognizant

Feb 2015

QCWiz CapabilityQE&A Automation COE

Page 2: © 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant 2

Agenda

Challenges in working with QC artefacts

Redefine QC Migration

How QCWiz works

Features of QCWiz

Benefits of QCWiz

Page 3: © 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant 3

Challenges in HP ALM Migration

Lack of full fledged data migration utility in the market

Increased QC license consumption for

creation/duplication activity

Testers spend more time on marking

statuses

Use of multiple tools for migration leading to

inefficiency and errors

Consumes Time & Cost

Takes their focus away from test execution

which is the priority

There is a lack of a unified solution in the market for the migration of various test artefacts from/to HP ALM

The Constraints The Impact

Page 4: © 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant 4

QC Project[1]

Test Case/ Test Runs

BPT components

Release/ Cycle

Requirements Defects

HP ALM

Upload/Download artefacts

Project[2]

Project[n]

Redefine Migration

Export and Import multiple artefacts (like Releases, Cycles, Requirements, Test cases and Defects)

Upload BPT manual components and Test cases

Simple grid based interface for both export and import

functionalities

Run test cases directly from excel mark the status

accordingly in QC

Attach files on both export and import

Attach files on both export and import

Fig: QCWiz Architecture

QCWiz

OTA API Driver Data sheet

Page 5: © 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant 5

Simplify QC Migration

QCWiz

Page 6: © 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant 6

How QC Wiz works

Login to Quality Centre Using QC Wiz Tool and connect to the project

Customize data required to export by applying filters and selecting the fields which we would like to view in the extract

On selecting download the QC Wiz tool connects with QC data base fetches the data using OTA APIs

Data downloaded and saved in the desired path in local desktop

Export

Import

1 Connect to QC 2 Map Fields 3 Load data 4 Import DataLogin to Quality Centre Using QC Wiz Tool and connect to the project

QC Wiz automatically Maps the field for which we need to add values with the columns in excel

Enter the data which needs t o be uploaded to QC in the spread sheet. We can upload links to artefacts and upload attachments

On clicking the upload button data gets uploaded to QC Database using OTA APIs and the confirmation message for successful upload is displayed

4 Save Data3 Retrieve data2 Customize1 Connect to QC

Page 7: © 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant 7

Test Case Migration Approach-QC to Zephiar for JIRA

7

Cognizant In House Tool to extract data (e.g. Test Cases, Defects etc.) from QC to Excel

Customize QC Wiz to extract Test steps and User Defined fields in a required format

Create Custom Fields in JIRA, corresponding to TC User Defined fields in QC

Use Zephyr Test Importer Utility to import TCs to Zephyr for Jira. Automate this process with QTP (Java Addin)

1 QualityCentre Wiz Tool

2 Customize QC Wiz Tool

3 Create Custom Fields in JIRA

4 CSV Import Utility

5 Complete

Test Cases migrated in Zephyr for Jira as Issue type – Test

Quality Centre (QC) Wiz is Cognizant’s in house tool to export data (e.g. Test Cases, Defects etc.) from QC to Excel

Customize QC Wiz Tool to extract TC data in format required in the next step

Single Excel to contain multiple test cases*

Migration Complete Jira to assign auto generated issue numbers to the new test cases

The Zephyr for JIRA Tests Importer Utility imports Tests into JIRA from Excel. Input the QC Wiz Excel to Utility, map the fields & Import. Automate import process using QTP**

Create Custom Fields in Jira so as to map the User Defined fields in QC .

Creating Custom Fields in JIRA is a One time activity

PoC completed successfully and migrated sample Retail test cases from QC to Zephyr for Jira

* For smooth migrations, a single Excel file to contain around 50 test cases with average 30 test steps **QTP Java add in is required for automating the process ^Tests in Zephyr for Jira can be organized and grouped by Versions, Components and Labels. It does not feature Folder hierarchy structure and is available in Zephyr Enterprise Edition

Test Case -Migrated

Page 8: © 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant 8

Defect Migration Approach-QC to JIRA

8

Cognizant In House Tool to extract data (e.g. Test Cases, Defects etc.) from QC to Excel

Customize QC Wiz to extract defect data to CSV files in required format

Create Custom Fields in JIRA to map the QC defect fields to Jira Issue fields

Automate the process of importing Defect Data & Screenshots from CSV to Jira

1 QualityCentre Wiz Tool

2 Customize QC Wiz Tool

3 Create Custom Fields in JIRA

4 CSV Import Process

5 Complete

Defects migrated from QC to Jira as Issue type - Bug

Quality Centre (QC) Wiz is Cognizant’s in house tool to export data (e.g. Test Cases, Defects etc.) from QC to Excel

Customize QC Wiz Tool to extract Defect data in a format (CSV) required in the next step Single CSV to contain multiple defects*

Migration Complete Jira to assign auto generated issue numbers to the new defects created

CSV import feature allows to import issues from an external (issue tracking) system, which JIRA does not provide a dedicated import tool for like QC Automate entire process of importing bugs/defects

Create Custom Fields in Jira to map the QC defect fields to Jira Issue fields Creating Custom Fields in JIRA is a One time activity

PoC completed successfully and migrated sample Defect from QC to Jira * For smooth migrations, a single CSV file to contain around 50 defects

Defect -Migrated

Page 9: © 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant 9

Features of QCwiz

Simple intuitive interface

Grid based interface for both import and export functionalities

Supports Multiple QC artefacts

Export and Import – Release, Cycles, Requirements, Test cases and Defects

Supports linking of artefacts

Link Requirement to test case and defect, test case to requirement and defect, and Run

to defect

Run test cases from Excel

Run test cases and mark status accordingly in QC

Ability to attach files

Attach files on both import and export

Simple UI Easy to use Template Exhaustive Features

Migrate data to third party tools

Export and import data from QC to third party tools like Jira,

QCWiz

Page 10: © 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant 10

Benefits

Reduce time involved inThe Upload/download of artefacts in QC

Minimize migration effort involved

Share artefacts across multiple teams

Reduce HP ALM license utilization

Simplifies test execution for manual testers

A one stop tool for major QC activities

CA

SELE

TA

Larg

e Insu

rance

Fir

m BENEFITSFollowing this approach reduces time when compared to creating the same directly in QC

QCWizBusiness Problem Benefits

Using QC Wiz tool the test cases were downloaded into an excel spreadsheet and test logs along with the screenshot paths were given and then uploaded

Creating the test logs in QC with screenshots for each step was a time consuming process (20 mins for a test case with 50 steps)

Page 11: © 2014 Cognizant Feb 2015 QCWiz Capability QE&A Automation COE

© 2014 Cognizant

Thank You