Hp-QC Tutorial: Quality Center - Test Plan - SQA Geek

Quality is never an accident;
it is always the result of intelligent effort.

Post Top Ad

Wednesday 11 November 2015

Hp-QC Tutorial: Quality Center - Test Plan

Test Plan

The crucial step in testing any application is developing a clear and a precise test plan. A good test plan enables the team to assess the quality of the application under test at any point in the software development life cycle.
Following functionalities are very important in order to understand in the test plan module better. Click on each one of the functionalities to know more about it.
FunctionalityDescription
Creating TestsThis module describes how to create folders of test subjects in the test plan tree and also to add tests.
Uploading TestsUploading Tests using ALM-MS Excel Addins
Requirement and Test CoverageEnables how to define the relationship between the requirements and tests.
Test ConfigurationSpecifies the subset of data or a run-time environment that the test should use.

Create Tests

Tests are created based on the requirements. Creating tests and covering all scenarios/parameters is the crucial factor for the success of any product.
Let us take a look at how to create a test suite and its important significance.
Step 1 : Create a Root folder as a container for having the test sets.
Create Tests 1
Step 2 : Click New Test Button and Enter details of the test Scenario and select the test type as shown below.
Create Tests 2
Step 3 : Select the Test and The Tabs would be generated as shown.
Create Tests 3
Step 4 : Click on design step details and give step name, details and description.
Create Tests 4Create Tests 5
Step 5 : All the design steps can be accessed using "Design" steps tab as shown below.
Create Tests 6
Step 6 : Test Parameter Details are entered using "Parameters" Tab.
Create Tests 7
Step 7 : One can view history of this particular test case in History-Audit Log tab as shown below.
Create Tests 9


Create Tests

Every time the user will NOT be in a position to create test cases manually. Hence HP has come up with an excel Addin with which the user can upload from excel directly. Let us understand the step by step procedure to upload test cases into QC from Excel.
Step 1 : Navigate to ALM home page and click on "Tools" from the list of links.
upload Test Case 1
Step 2 : Click on "More HP ALM Addins" Link from the addins page as shown below.
upload Test Case 2
Step 3 : In the Addins page, select "Addins for Microsoft applications" and choose "Microsoft Excel"
upload Test Case 3
Step 4: Upon selecting "Microsoft Excel", choose ALM 11.5 Excel addin. The exe file will be downloaded. Please also take a note of the supported MS Office Editions as shown in the below screenshot.
upload Test Case 4
Step 5 : Once the Addin is installed, upon opening the excel file one can see "Export to ALM" button under Addins tab.
upload Test Case 5
Step 6 : Select the Records that one would like to upload into ALM and click on "Export to ALM Button". The HP ALM Export Wizard opens as shown below. Enter the Quality Center URL.
upload Tests 6
Step 7 : Enter the Quality Center credentials to successfully establish a connection.
upload tests 7
Step 8 : Select the Domain and Project as shown below and click "Next".
upload tests 8
Step 9 : Select the Type of data that the user wishes to upload. In this case it is "Tests".
upload tests 9
Step 10 : Enter a New map name. Upon creating once we can reuse it any number of times for uploading tests.
upload tests 10
Step 11 : The Field Mapping Dialog opens. Here the user has to map the field in Quality Center against the column ID in Excel.
upload tests 11
Step 12 : Once the Field mapping is done, click Next.
upload tests 12
Step 12 : Hp ALM will start uploading the tests into Quality Center and shows the progress as shown below.
upload tests 9
Step 13 : If the upload is successful, the HP-ALM Export Wizard would show the message that it got successfully uploaded.
upload tests 10
Step 14 : Upon successful upload, the uploaded Test cases can be seen in HP-ALM directly.
upload tests 10


Requirement and Test Coverage

As a tester, one would be intersted in establishing the connection between requirement and test coverage. This will help the test managers to take informed decisions about the status of each one of those requirements. Let us now understand how to link requirements and tests so that the metrics can be genenerated.
Step 1 : Goto the Test Plan tab and select the test against which the requirement has to be mapped.
Req and Test Cases 1
Step 2 : Click "Select Req", the requirement tree opens in right pane and user can select the related requirements.
Req and Test Cases 1
Step 3 : This mapping is important to generate traceability matrix, and upon execution of tests we will be able to see what percent of tests for a specific requirement has passed/failed.

Test Configuration

Test Configurations helps the testers to test various use cases with a different set of data. Testers can use a single test to cover multiple requirements by associating to different test configurations in the same test for each requirement.
It can also correspond to a run-time environment and can be associated with test configuration with data in the Parameters tab of the Test Plan module. Following are the steps to work with Test Configurations.
Step 1 : Ensure that the prerequisite such as requirement and test cases are created. Tests are created with parameters.
Step 2 : The Test Configuration is created by navigating to the "test configurations" tab of test plan module. One Default configuration is present in the list.
Test Configuration 1
Step 3 : Click on "+" Icon to create a New test configuration and test configuration window opens as shown below.
Test Configuration 2
Step 4 : Upon creating new test configurations, the test configuration is listed as shown below.
Test Configuration 3
Step 5 : Create Requirement coverage as discussed in previous module - Requirement and Test Coverage.
Step 6 : Create test set in test lab module and execute them for each one of those configurations.
Step 7 : Upon execution, analyze the results in test runs tab.

No comments:

Post a Comment

Post Bottom Ad