Sunday

CMMI Levels and 22 Key Process Areas

There are five CMM levels, of which Level 5 is the highest.

CMM Level 1 is called "Initial". The software process is at CMM Level 1, if it is an ad hoc process. At CMM Level 1, few processes are defined, and success, in general, depends on individual effort and heroism.

CMM Level 2 is called "Repeatable". The software process is at CMM Level 2, if the subject company has some basic project management processes, in order to track cost, schedule, and functionality. Software processes are at CMM Level 2, if necessary processes are in place, in order to repeat earlier successes on projects with similar applications. Software processes are at CMM Level 2, if there are requirements management, project planning, project tracking, subcontract management, QA, and configuration management.

CMM Level 3 is called "Defined". The software process is at CMM Level 3, if the software process is documented, standardized, and integrated into a standard software process for the subject company. The software process is at CMM Level 3, if all projects use approved, tailored versions of the company's standard software process for developing and maintaining software. Software processes are at CMM Level 3, if there are process definition, training programs, process focus, integrated software management, software product engineering, intergroup coordination, and peer reviews.

CMM Level 4 is called "Managed". The software process is at CMM Level 4, if the subject company collects detailed data on the software process and product quality, and if both the software process and the software products are quantitatively understood and controlled. Software processes are at CMM Level 4, if there are software quality management (SQM), and quantitative process management.

CMM Level 5 is called "Optimized". The software process is at CMM Level 5, if there is continuous process improvement, if there is quantitative feedback from the process, and from piloting innovative ideas and technologies. Software processes are at CMM Level 5, if there are process change management, and defect prevention technology change management.

These Key Process Areas in CMMI Level are indicated in the below table.

Abbreviation Name Area Maturity Level
REQM Requirements Management Engineering 2

PMC Project Monitoring and Control Project Management 2

PP Project Planning Project Management 2

SAM Supplier Agreement Management Project Management 2

CM Configuration Management Support 2

MA Measurement and Analysis Support 2

PPQA Process and Product Quality Assurance Support 2

PI Product Integration Engineering 3

RD Requirements Development Engineering 3

TS Technical Solution Engineering 3

VAL Validation Engineering 3

VER Verification Engineering 3

OPD Organizational Process Definition Process Management 3

OPF Organizational Process Focus Process Management 3

OT Organizational Training Process Management 3

IPM Integrated Project Management Project Management 3

RSKM Risk Management Project Management 3

DAR Decision Analysis and Resolution Support 3

OPP Organizational Process Performance Process Management 4

QPM Quantitative Project Management Project Management 4

OID Organizational Innovation and Deployment Process Management 5

Yielding effectiveness from test cases : Metrics to be collected

hese are the best metrics for test leads and managers to get effectiveness.

Who wants to acquire the knowledge on metrics or who wants to implement the below metrics in the real projects.Recently I faced an incident in project, where I need to get effectiveness of test cases of the existing Application.I followed the some pointers in the list of 44 metrics. If you feel you have any more metrics other than the below list.Please feel free to post here.

“44” Metrics for Test Case Review Effectiveness
1. Major Defects Per Test Case Review
2. Minor Defects Per Test Case Review
3. Total Defects Per Test Case Review
4. Ratio of Major to Minor Defects Per Test Case Review
5. Total Defects Per Test Case Review Hour
6. Major Defects Per Test Case Review Hour
7. Ratio of Major to Minor Defects Per Test Case Review Hour
8. Number of Open Defects Per Test Review
9. Number of Closed Defects Per Test Case Review
10. Ratio of Closed to Open Defects Per Test Case Review
11. Number of Major Open Defects Per Test Case Review
12. Number of Major Closed Defects Per Test Case Review
13. Ratio of Major Closed to Open Defects Per Test Case Review
14. Number of Minor Open Defects Per Test Case Review
15. Number of Minor Closed Defects Per Test Case Review
16. Ratio of Minor Closed to Open Defects Per Test Case Review
17. Percent of Total Defects Captured Per Test Case Review
18. Percent of Major Defects Captured Per Test Case Review
19. Percent of Minor Defects Captured Per Test Case Review
20. Ratio of Percent Major to Minor Defects Captured Per Test Case Review
21. Percent of Total Defects Captured Per Test Case Review Hour
22. Percent of Major Defects Captured Per Test Case Review Hour
23. Percent of Minor Defects Captured Per Test Case Review Hour
24. Ratio of Percent Major to Minor Defects Captured Per Test Case Review Hour
25. Percent of Total Defect Residual Per Test Case Review
26. Percent of Major Defect Residual Per Test Case Review
27. Percent of Minor Defect Residual Per Test Case Review
28. Ratio of Percent Major to Minor Defect Residual Per Test Case Review
29. Percent of Total Defect Residual Per Test Case Review Hour
30. Percent of Major Defect Residual Per Test Case Review Hour
31. Percent of Minor Defect Residual Per Test Case Review Hour
32. Ratio of Percent Major to Minor Defect Residual Per Test Case Review Hour
33. Number of Planned Test Case Reviews
34. Number of Held Test Case Reviews
35. Ratio of Planned to Held Test Case Reviews
36. Number of Reviewed Test Cases
37. Number of Unreviewed Test Cases
38. Ratio of Reviewed to Unreviewed Test Cases
39. Number of Compliant Test Case Reviews
40. Number of Non-Compliant Test Case Reviews
41. Ratio of Compliant to Non-Compliant Test Case Reviews
42. Compliance of Test Case Reviews
43. Non-Compliance of Test Case Reviews
44. Ratio of Compliance to Non-Compliance of Test Case Reviews

10 steps to become QTP guru


Would you like to know how to become QTP guru?
The recipe is simple. You should learn the following:

1. VBScript
QTP uses VBScript language. That's why strong knowledge of VBScript is 'must have'.
Sources:
* w3schools' VBScript tutorial
* MS' VBScript Guide.

2. Software Testing Automation Frameworks
To write good automated tests, you should know how to write them.
There are different approaches and solution. There is not a silver bullet.
Sources:
* Test Automation Frameworks
* Choosing a Test Automation Framework
* Totally Data-Driven Automated Testing
* Seven Steps to Test Automation Success

3. HP QuickTest Professional Tutorial
This QTP tutorial cames with QTP.
It's quite clean and informative. Its main goal is to show and explain basic concepts of QuickTest Professional. It provides knowledge on:
* creating a test
* working with Object Repository (OR)
* running and analyzing tests
* verifying tests
* parameterizing, etc
Sources: '\help\QTTutorial.pdf' or '\help\Tutorial.chm' in QTP Install folder.

4. HP QuickTest Professional User's Guide
As previous tutorial, the present User's Guide come with QTP install too.
This guide is intended for QuickTest Professional users at all levels. It gives a deeper knowledge on:
* working with QTP Object Repositoies
* designing tests
* enhancing tests (checkpoints, parameterizing, etc)
* maintaining anf debugging tests
* advanced testing features, etc
Sources: '\help\QTUsersGuide.pdf' or '\help\MainUsersGuide.chm' in QTP Install folder.

5. COM/DCOM Technologies
When working with QTP, you will be closely linked with such Microsoft's applications, as: Excel, Word, Outlook. So, I recommend to get familiar with COM, COM Technologies, and COM objects of:
* MS Internet Explorer
* MS Excel
* MS Outlook

6. SQL
SQL is so important in programming, that I strongly recommend to spend time to learn SQL:
* concepts of RDBM
* selecting/updating/deleting data
* SQL queries optimizations
* databases administration
Sources:
* w3schools' SQL tutorial
* MS SQL Server - this and this
* Oracle DB

7. XML
XML is an extremely popular and useful format. I'm sure that нou will have to deal with data, stored in XML-files.
Sources:
* w3schools' XML tutorial

8. HTML, DOM
Since QuickTest Professional works perfectly with web applications, you should be expert in related fields - HTML, HTTP, DHTML, DOM, etc. They will simplify your future QTP script and make them more reliable and maintenable.
Sources:
* w3schools' HTML tutorial
* w3schools' DHTML tutorial
* A Beginner's Guide to the XML DOM
* DOM tutorials

9. HP QTP Knowledge Base
It contains a lot of practical articles about QuickTest Professional.
You can find there QTP webinars, QTP FAQs, documentations, solutions of your problems or different ways how to improve your QTP automated tests.
Sources:
* HP Self-solve Knowledge Search (requires an access to HP site)

10. Useful sites
Sure, it's impossible to know all information on QTP.
That's why I recommend to use these two sites to search answers to your QTP questions:
* Google
* Easy way to automate testing

Thursday

use script to validate an action in LoadRunner

Have you ever wanted to keep track of things when it is done or when an action is performed in your loadrunner script? Well that’s where Update datapoint function comes in.

I have had to use this function over and over again in my day to day scripting and therefore i would like to add it here for those of you who are struggling to get things done or looking for a script like this to make your life easier.

Well for those of you who are not familiar with loadrunner, It is a performance testing tool that is used to emulate high load of users performing various actions on a particular site. This will give the business a better understanding of cpacity and help in capacity planning.

FUNCTION

int updateDataPoint(int currentAction)
{
int nvalue;

for (i = 1; i <= 4; i++)
{
if (currentAction == i)
nvalue = 1.00;
else
nvalue = 0.00;

switch(i)
{
case 1:
lr_user_data_point(“Register_1stBook”, nvalue); break;
case 2:
lr_user_data_point(“Register_Upload”, nvalue); break;
case 3:
lr_user_data_point(“RegisteredUser_Upload”, nvalue); break;
case 4:
lr_user_data_point(“PutOnSale”, nvalue); break;
}
}
}

USING THIS FUNCTION:
int mainRand = atoi(lr_eval_string(“{mainRandom}”));
i = 0;
if (mainRand <= lr_get_attrib_long(“attrib_Register_1stBook”))
{
if (Register_1stBook() == LR_PASS)
updateDataPoint(1);
}
else if (mainRand <= lr_get_attrib_long(“attrib_Register_Upload”) + lr_get_attrib_long(“attrib_Register_1stBook”))
{
if (Register_Upload() == LR_PASS)
updateDataPoint(2);
}
else if (mainRand <= lr_get_attrib_long(“attrib_RegisteredUser_Upload”) + lr_get_attrib_long(“attrib_Register_Upload”) + lr_get_attrib_long(“attrib_Register_1stBook”))
{
if (RegisteredUser_Upload() == LR_PASS)
updateDataPoint(3);
}
else
{
if (PutOnSale() == LR_PASS)
updateDataPoint(4);
}
return 0;

use script to validate an action in LoadRunner

Have you ever wanted to keep track of things when it is done or when an action is performed in your loadrunner script? Well that’s where Update datapoint function comes in.

I have had to use this function over and over again in my day to day scripting and therefore i would like to add it here for those of you who are struggling to get things done or looking for a script like this to make your life easier.

Well for those of you who are not familiar with loadrunner, It is a performance testing tool that is used to emulate high load of users performing various actions on a particular site. This will give the business a better understanding of cpacity and help in capacity planning.

FUNCTION

int updateDataPoint(int currentAction)
{
int nvalue;

for (i = 1; i <= 4; i++)
{
if (currentAction == i)
nvalue = 1.00;
else
nvalue = 0.00;

switch(i)
{
case 1:
lr_user_data_point(“Register_1stBook”, nvalue); break;
case 2:
lr_user_data_point(“Register_Upload”, nvalue); break;
case 3:
lr_user_data_point(“RegisteredUser_Upload”, nvalue); break;
case 4:
lr_user_data_point(“PutOnSale”, nvalue); break;
}
}
}

USING THIS FUNCTION:
int mainRand = atoi(lr_eval_string(“{mainRandom}”));
i = 0;
if (mainRand <= lr_get_attrib_long(“attrib_Register_1stBook”))
{
if (Register_1stBook() == LR_PASS)
updateDataPoint(1);
}
else if (mainRand <= lr_get_attrib_long(“attrib_Register_Upload”) + lr_get_attrib_long(“attrib_Register_1stBook”))
{
if (Register_Upload() == LR_PASS)
updateDataPoint(2);
}
else if (mainRand <= lr_get_attrib_long(“attrib_RegisteredUser_Upload”) + lr_get_attrib_long(“attrib_Register_Upload”) + lr_get_attrib_long(“attrib_Register_1stBook”))
{
if (RegisteredUser_Upload() == LR_PASS)
updateDataPoint(3);
}
else
{
if (PutOnSale() == LR_PASS)
updateDataPoint(4);
}
return 0;

Monday

Differences in Different QC Versions

QC-Edition Feature Comparison

Feature

Starter

Enterprise

ALM

Maximum users

5

Unlimited

Unlimited

Test Management

yes

yes

yes

Defect Management

yes

yes

yes

Version control

yes

yes

yes

Base lining

yes

yes

Requirements Management

yes

yes

Release and cycle management

yes

yes

Risk-based quality management

yes

yes

Cross-project requirements

yes

Cross-project tests

yes

Cross-project defects

yes

Cross-project reporting

yes

Project templates

yes

High-availability

Optional

yes

Database

Microsoft SQL Server Express

Microsoft SQL Server or Oracle Database Server

Microsoft SQL Server or Oracle Database Server

Application Server

JBoss

JBoss, WebLogic, or WebSphere

JBoss, WebLogic, or WebSphere

Server System Requirements

CPU

Memory (RAM)

Free Disk Space

Operating System

Pentium IV or higher

2 GB minimum

5 GB minimum

Windows Server 2003 SP2 32 or 64-bit

Windows Server 2008 SP2 32 or 64-bit

Red Hat Enterprise Linux 5.4

SUSE Linux 10 64-bit

VMware ESX 4.0 or higher

Recommended Server Configurations

The following table includes recommended configurations for each operating system.

Operating System

Application Server

Database Server

Web Servers

Windows Server 2008 SP2 64-bit

JBoss 5.1

Microsoft SQL 2008 SP1 64-bit

JBoss 5.1

Red Hat Enterprise Linux 5.4 64-bit

WebLogic 10.3

Oracle 11.2.0.1

Apache 2.2

Client System Requirements

This section describes the client system configurations for installing a Quality Center client.

CPU

Memory (RAM)

Free Disk Space

Operating System

Pentium IV or better

1 GB

1 GB

Windows XP SP3

Window Vista SP1

Windows 7

Windows 2003 Server SP2

Windows 2008 Server SP2

Notes:
.NET Framework 3.5 SP1 is required.
The client is supported in Citrix, Remote Desktop and VMware environments.

Tip of the day : Finding a software Testing Job

here are many people who would like to get software testing jobs, but they are unsure about how to approach it. This may seem like a dream j...