How to Upload Test Cases in Alm

  • Subsequently defining requirements, development team boot starts their pattern and evolution process while Testing team start designing tests that tin can be executed one time the build is deployed.
  • Success of any product depends on the testing processes and the quality of testing that is beingness carried out. A Skillful Exam Plan results in a issues gratuitous product.
  • ALM supports maintenance and execution of manual, automation and performance tests every bit ALM is seamlessly integrated with all HP products such as HP UFT and HP Load Runner.

All About Test Plan Module in HP ALM (Quality Center)

In this tutorial you will learn

  • How to Create Exam Plan
  • How to Upload Tests using Microsoft Excel
  • How to create Test Resource

How to Create Test Plan

Footstep 1 ) Similar to requirements, let us create a placeholder/folder for each one of the test types such equally Functional and Non Functional.

  1. Click on Test Plan link from the ALM Home page
  2. Click 'New Folder' Icon
  3. Enter the Folder Proper noun as 'Functional' and click 'OK'

All About Test Plan Module in HP ALM (Quality Center)

Step 2) The created binder would exist displayed as shown below.

All About Test Plan Module in HP ALM (Quality Center)

Step 3) Similarly allow us creates subfolders for 'Manual' and 'Automated' Tests under 'Functional' Folder. Hence the Final Folder Structure will be as shown beneath:

Note: We will NOT be able to create automated test scripts/Performance examination scripts from ALM; instead it has to be created from corresponding HP tools such as UFT for functional and Load runner for performance. Information technology is then saved into ALM so that they can exist scheduled, executed, monitored and reported.

All About Test Plan Module in HP ALM (Quality Center)

Stride iv) It would be better to create a New binder for each one of the modules of the application then that nosotros don't dump all manual tests in one binder. For Circuitous applications there would be thousands of tests which would exist difficult to handle if they are non aligned properly.

All About Test Plan Module in HP ALM (Quality Center)

Pace 5) Now Let us create a Manual Exam for the 'Login' Module by clicking on the 'New Test' Icon in 'Examination Plan' Tab.

All About Test Plan Module in HP ALM (Quality Center)

Step vi) Enter the following details for creating the new test successfully.

  1. Enter the New test Name
  2. Enter the Type of the Test. In this case it is 'Manual' Test.
  3. User tin also enter other non-mandatory fields such as date, Description as shown below.
  4. Click 'Submit' in one case all the details are entered.

All About Test Plan Module in HP ALM (Quality Center)

Footstep 7) In one case the exam is created, the created exam volition appear under the 'Manual' tests folder with other tabs generated as shown beneath. Let us talk over each 1 of these tabs in details in upcoming steps.

All About Test Plan Module in HP ALM (Quality Center)

Step 8) Click 'Design Steps' tab and click on 'New Step' icon equally shown below. The Design footstep details dialog box opens

  1. Enter the Step Name
  2. Enter the Step Clarification
  3. Enter the Expected Result
  4. Click 'OK'

All About Test Plan Module in HP ALM (Quality Center)

Step nine) Echo the Pace#six and enter all the relevant steps to test the functionality. Afterward creating all the required steps, 'Pattern Steps' tab displays all the created steps as shown beneath.

All About Test Plan Module in HP ALM (Quality Center)

Footstep 10) Parameters, helps the user to assign a value to a variable that allows the user to execute the aforementioned test with dissimilar sets of data. In this case, the user name and password tin can be two parameters which would be assigned with a value. Nosotros will sympathise the importance of having parameters while test execution which will be dealt in Test Lab module.

Now, Allow us see how to create parameters.

  1. Select the test step against which nosotros would like to add the parameter.
  2. The 'Parameter' Icon volition be enabled. Click on the aforementioned as shown below.

All About Test Plan Module in HP ALM (Quality Center)

Step 11) The Parameter dialog volition open as shown below. Click on 'New Parameter' button.

All About Test Plan Module in HP ALM (Quality Center)

Step 12) The test parameter details dialog opens.

  1. Enter the parameter name
  2. Assign a Value to the Parameter
  3. Click 'OK'.

All About Test Plan Module in HP ALM (Quality Center)

Step 13)

The 'parameters' dialog is displayed back to the user

  1. With the created variable
  2. The value
  3. Click 'OK'.

All About Test Plan Module in HP ALM (Quality Center)

Step 14) Now we can find that the parameter is added in the 'Test Pace' itself as shown below.

Repeat the same for password field also.

All About Test Plan Module in HP ALM (Quality Center)

Similarly, create parameter for Password Filed


Stride 15) The created parameters tin be viewed/edited in the parameters tab. This dialog also helps us to create, delete the parameters associated with the tests.

All About Test Plan Module in HP ALM (Quality Center)

Footstep 16) The attachment tab allows the user to upload whatever type of file such as 'xls', 'jpg' etc.

All About Test Plan Module in HP ALM (Quality Center)

Step 17) The test configuration helps usa to reuse the exam for dissimilar use case scenarios. Let us empathise how to work with test configurations with an case. By default there is a examination configuration that is specified as that of exam name.

Note: We CANNOT delete the default test configuration but nosotros can edit the same.

All About Test Plan Module in HP ALM (Quality Center)

Stride 18) Let us say the login functionality tin be performed by iii types of business organisation users such as 'helpdesk', 'manager' and 'cluster head'.

Let us rename the default exam configuration to 'helpdesk' by editing the name field of the 'Exam Configuration'.

All About Test Plan Module in HP ALM (Quality Center)

Step 19) Now let us add together the other two more examination configurations viz – managing director and cluster caput. Click '+' icon nether test configurations.

All About Test Plan Module in HP ALM (Quality Center)

Step 20) The 'New exam Configuration' dialog opens upwards.

  1. Enter the Exam configuration proper noun
  2. Enter other non-mandatory parameters such equally 'created by' , 'creation engagement', 'description'
  3. Click 'OK'.

All About Test Plan Module in HP ALM (Quality Center)

Step 21) Repeat the same step as above to create i more test configuration for 'cluster head' and the entire exam configuration will be displayed to the user as shown below. This will permit the testers to execute the same test individually confronting all the created configurations during exam execution which volition effect in no rewriting of tests.

Test Configuration should NOT be dislocated with test parameters. Hence we should understand the difference betwixt parameter and exam configurations. The Parameters are used to create variable and assign values for a specific step (parameterizing the examination) while exam configuration is applicable for all the steps and mostly used to examination dissimilar business concern use cases/Workflow. During Execution users tin modify values of the created parameters while a Test Case is executed for the selected configuration.

For Instance, An online bill payment Application, user can select the payment mode. In case of 'Credit Card' Payments, user can either select primary card, visa or American limited. Each one of those having its own customer reward points. In gild to test it, we can design a test such that each i of them are added into exam configurations to verify the advantage points.

All About Test Plan Module in HP ALM (Quality Center)

Footstep 22) The 'Req Coverage' Tab helps the testers to map the test against a item requirement(s) which helps users to generate coverage and traceability.

  1. Click on 'Req Coverage' Tab.
  2. Select the 'Requirement' which should be mapped confronting this particular test case
  3. Click '<=' push button to map the selected requirements against the test. Nosotros can likewise map multiple requirements against the same exam.

All About Test Plan Module in HP ALM (Quality Center)

Pace 23) The Tab 'Linked Defects' shows empty equally we haven't executed any test/raised any Defect against the test example. This tab will be populated with the defect details if the defects are posted confronting the test example at the time of creating the defects.

All About Test Plan Module in HP ALM (Quality Center)

Footstep 24) History tab shows the list of changes made over time against this particular test case right from time of creating the test.

All About Test Plan Module in HP ALM (Quality Center)

Uploading Tests:

Sometimes, user won't exist creating examination cases manually equally information technology is pretty much time consuming process. Virtually Organizations develop transmission tests in Excel and upload into ALM in majority rather than creating each manual tests one by i. In order to facilitate uploading into ALM, HP has come up upwardly with an Addin with which the user can upload from MS excel/MS Word directly. Let us empathise the stride past step procedure to upload requirements into QC from Excel.

How to Upload Tests using Microsoft Excel

Pace 1) Before uploading the tests from excel, nosotros demand to fix the Excel such that it can be uploaded.

  1. Select the Fields that yous wish to upload into ALM and create a header in Excel for those fields.
  2. Enter a valid information in each one of those fields every bit shown below.

All About Test Plan Module in HP ALM (Quality Center)

Step ii) Later selecting the data to upload, click 'Export to HP ALM' from 'Add together-Ins'.

All About Test Plan Module in HP ALM (Quality Center)

Step iii) The ALM Export Wizard opens. Enter the HP ALM Server URL and Click 'Adjacent'.

All About Test Plan Module in HP ALM (Quality Center)

Footstep 4) Enter the user proper noun and password for authentication and Click 'Side by side'.

All About Test Plan Module in HP ALM (Quality Center)

Stride 5) Select the Domain, Projection Name into which we would like to upload the tests and Click 'Next'.

All About Test Plan Module in HP ALM (Quality Center)

Step 6) Select the blazon of data that we would like to upload. In this example, it is tests. Nosotros will likewise upload Defects in the upcoming chapters.

All About Test Plan Module in HP ALM (Quality Center)

Step 7) Enter the New Map name. The get-go option, 'Select a map' is disabled because we haven't created a map and then far. Hence we should create new map name and click 'Next'. We haven't selected 'Create a Temporary map' as we would similar to reuse every time for uploading 'tests.

All About Test Plan Module in HP ALM (Quality Center)

Stride 8) Upon Clicking 'Next', the mapping dialog opens as shown beneath.

  1. The left pane grid items that are listed stand for to the fields that are available for upload in HP ALM. Please note that the fields marked in 'RED' should be mapped as they are mandatory fields.
  2. The right pane grid items refer to the fields that are mapped so that values in Excel will flow into those respective fields of ALM.

All About Test Plan Module in HP ALM (Quality Center)

Pace 9) Now let the states sympathise how to map the fields in Excel against the fields in ALM.

  1. Select the Field that user would similar to map and click on the pointer button as shown below.

All About Test Plan Module in HP ALM (Quality Center)

  1. Enter the column name in Excel that corresponds to the appropriate column name in HP ALM.

All About Test Plan Module in HP ALM (Quality Center)

  1. Map all the required columns in Excel against the appropriate fields in HP ALM. Afterward mapping all the required fields, click 'Export'.

All About Test Plan Module in HP ALM (Quality Center)

Step 10) Upon successful upload, ALM displays the message as shown below. If errors appear please fix the issue and try re-uploading the same.

Some of the mutual errors are listed below :

  • The Subject/Path is invalid/unavailable or Non mapped by the user.
  • The Field 'Test Type' has a value other than Manual. Automated tests CANNOT be uploaded using Excel.
  • Test Proper name field is Empty or Not Mapped.
  • Status shouldn't have values other than Pattern, ready, Imported, Repair.

    All About Test Plan Module in HP ALM (Quality Center)

Step 11) Now let us verify the aforementioned under 'Tests' Tab. All the test details are uploaded every bit shown below.

Notation : Users can as well perform re-uploading of tests. In instance of re-uploading the test cases, if the exam name already exists and if there is just a alter in footstep clarification then the test will exist overwritten with the existing one. If the exam proper name is different from the uploaded one, it uploads as a new exam.

All About Test Plan Module in HP ALM (Quality Center)

How to create Test Resources

The Test Resources enables users to manage resources that are ordinarily picked up by automated/operation tests. Users tin upload the script which can exist used past i or more tests. They can also be downloaded/edited and uploaded back again into test resource.

Permit us run into how we can make use of Test Resources module effectively. This module is demonstrated by uploading the same excel file into test resources that we used for importing the tests from excel into ALM.

Upload of Test Example excel is recommended so that we can edit the tests whenever required and re-upload only the modified test cases. It is too like shooting fish in a barrel to add new tests and upload just the newly added tests.

Notwithstanding nosotros can besides upload other types of files such as .xls, .vbs, .qfl etc.

Pace 1) Navigate to Test Resource module as shown below. The test resources module page opens.

All About Test Plan Module in HP ALM (Quality Center)

Step 2) Create a 'New Folder' by clicking on New Folder Icon as shown below. The New folder dialog opens. Let united states of america create test resources for all three tests viz – Manual, Automation and Performance.

All About Test Plan Module in HP ALM (Quality Center)

Step three) The folder is created as shown beneath.

All About Test Plan Module in HP ALM (Quality Center)

Stride iv) Similarly allow united states of america create two more folders viz – Automation and Performance. Afterwards Creating a folder for each one of the test resources, the final folder structure volition be as shown below:

All About Test Plan Module in HP ALM (Quality Center)

Footstep 5) Let us create a New test resource by uploading the excel file that we accept created for writing transmission tests which were uploaded into ALM. Select the folder where user would similar to upload the test resource.

All About Test Plan Module in HP ALM (Quality Center)

Step 6) Enter the proper noun of the test resource and also select the type of the resource and click 'OK'.

All About Test Plan Module in HP ALM (Quality Center)

Stride 7) Upon creating the test resource, at present we demand to upload the resources so that it is available under 'Resource Viewer' Tab which will be used beyond tests.

  1. Click 'Resources Viewer' Tab
  2. Click 'Upload File' and select the file for upload

All About Test Plan Module in HP ALM (Quality Center)

Step 8) Subsequently uploading the file, the Status will exist shown to the user and information technology volition be available for download.

All About Test Plan Module in HP ALM (Quality Center)

Note: The Post-obit types of Exam Resource are uploaded that tin can be used for executing the automatic tests.

  1. DataTable
  2. Environmental Variables
  3. Function Libraries
  4. Recovery Scenarios
  5. Shared Object Repository

Video on Test Plan

Click here if the video is not attainable

key takeaways:-

  • You lot will use the Test Programme module in QualityCenter to design and create your examination cases/scripts.
  • You tin can link your Tests in Exam Plan Module with Requirements in the Requirement Module for easy tracking.
  • QualityCenter provides many a features like copying test steps , emailing scripts for review , adding attachments etc. to facilitate faster development of test cases.

blakeneyinower68.blogspot.com

Source: https://www.guru99.com/hp-alm-test-plan-module.html

0 Response to "How to Upload Test Cases in Alm"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel