1 / 39

Training in the Testing Tool HP Quality Center 11

Training in the Testing Tool HP Quality Center 11. Senior Test Manager Mounir AL Chaer mounir@alchaer.dk. Agenda. Basic functionalities in HP Quality Center 11 Requirements Modul Test Plan Moudul Test Lab Modul Defects Modul Evaluering. QC. Formål.

Download Presentation

Training in the Testing Tool HP Quality Center 11

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Training in the Testing Tool HP Quality Center 11 Senior Test Manager Mounir AL Chaer mounir@alchaer.dk

  2. Agenda • Basicfunctionalities in HP Quality Center 11 • Requirements Modul • Test Plan Moudul • Test Lab Modul • Defects Modul • Evaluering QC

  3. Formål • Formålet med dagens session er at træne på: • Skriv testcases • Udfør testcases • Opret defekter i HP Quality Center 11 • Andre forventninger til Quality Center Senior Test Manager Mounir AL Chaer

  4. Hvorfor struktureret test? Struktureret test er en systematisk gennemgang af et system og gennemføres af mange forskellige grunde: • Er det leverede som forventet? • Er der fejl i det leverede? • Rette op på misforståelser og dermed mindske tilbageløb. • Mindske risikoen ved at gå i drift med ny funktionalitet eller nyt hardware (setup). • Sikre at vores it-systemer understøtter vores forretningsprocesser. • Sikre at informationerne i vores it-systemer er korrekte. • Sikre at vores it-systemer kører optimalt og stabilt. Senior Test Manager Mounir AL Chaer

  5. Why Structured test? • Structured test is a systematic walkthrough of a system and it has many purposes: • Is the product as expected (described in the requirements)? • To find errors in the product • To correct misunderstandings and reduce rework • To lower the risk in the production of new/corrected functionality or hardware • To secure that the systems can perform in an optimal and stabile way • To have knowledge about the quality as input to progress / go-live decisions Senior Test Manager Mounir AL Chaer

  6. Quality Center - Overblik • The application lifecycle management roadmap with ALM includes the following phases: Senior Test Manager Mounir AL Chaer

  7. Logon to Quality Center 11 • First Step: • install QC onyour computer, via link: http://qcsaas.dk.logica.com/qcbin/start_a.jsp • And youwill have the HP QC login • Loginname: your initials • Password: • Clickon the button 'Authenticate’ • Domain • Project Senior Test Manager Mounir AL Chaer

  8. QC Terminology Senior Test Manager Mounir AL Chaer

  9. HP Quality Center 11 What is Quality Center (QC) apart from being standard test documentation tool • A Database which is build up with info onhow to test a system. • Release Management (This will not be used) • Business Components (This will not be used) • Requirements • Test Plan – Collection of test cases/descriptions (Library) • Test Lab – Test execution – linked to test cases/descriptions in Test Plan • Defect Management – Error handling Senior Test Manager Mounir AL Chaer

  10. Test Plan • Test Plan is a librarywhereyoubuild up your test cases. • Folders is typicallydivided in business areasorfunctions. • Create folders in the test plan tree • Define the specific test cases within each subject folder Senior Test Manager Mounir AL Chaer

  11. What is a test case? • A test case is like a manuskript, which guide youthrough the different steps in a specific action togetherwith the expectedresult of each step in the action. • Test cases canbedivided in different types: • Main functionality (several test cases are put together in a test set to reflect a process / scenario) • Variants • Exceptions / Error handling (negative test) • Test cases candescribe test of e.g.: • Functions (logon, search, måleraflæsning, print etc.) • Processes (kundeprocesser, økonomiprocesser, etc.) • Non-functionalareas (security, performance, usability, consistency) Senior Test Manager Mounir AL Chaer

  12. Guidelines for a test case 1 Naming conventions ”Test name” must be short and with a meaningful title. Test steps • Step name: • Description: Be specific and precise, use transactioncode if possible, list required parameters. Explain in detailed words exactly what to do, so your collegeaues can do it a year or 3 from now. • Expected result: Be specific and precise again. Explain the exact response from the system to the actions decribed. • Risk: How critical is the functionality (High, Medium, Low) High- High business or technical criticality. Showstopper Medium– Some business or technical criticality. No showstopper Low- Low business or technical criticality. No showstopper Senior Test Manager Mounir AL Chaer

  13. Guidelines for a test case 2 • In the field 'Details' describe: (Purpose, Preconditions, Authorizationsifpossible, Dependencies) Criteria for making a new test step Youmake a test step for each time youenter/submit/process data, and the system delivers an output. Senior Test Manager Mounir AL Chaer

  14. Create New Test • Mark the folder where to place the test case • Clickon the icon Senior Test Manager Mounir AL Chaer

  15. Create New Test Case • Name of thetestcase • Test type Senior Test Manager Mounir AL Chaer

  16. Hereyoucanaddgoal, preconditions, authorizations, dependencies Senior Test Manager Mounir AL Chaer

  17. Create test steps • Choose the tab ’Design Steps’ • Adding new steps • Enter: • Description: Bespecific and precise, usetransactioncode, list required parameters. Explain in detailedwordsexactlywhat to do, so yourcollegeauescan do it a yearor 3 from now. • Expectedresult: Bespecific and preciseagain. Explain the exactresponse from the system to the actions decribed. Senior Test Manager Mounir AL Chaer

  18. Test Case – Design Steps • By defining the steps in the belowmanner, wecanexactlytrack in which step the test case failedtherebyreducing the burdenon the developers for searching the entire steps Attachmentscanbeadded at the overall script levelor step level Description contains the actions that need to be performed. Senior Test Manager Mounir AL Chaer

  19. Quality Center 11 – Test Case Example Senior Test Manager Mounir AL Chaer

  20. Copy, Paste & Rename Testcases • Convenientreuse of verysemilar scenarios. Copy and change the small variants in the copy. Rightclicktestcase to becopied Rightclick destination folder to paste Rightclick new copy to rename Senior Test Manager Mounir AL Chaer

  21. Insert parameter • Wheninsertingspecific parameters in testcases, youwillbepromted to insert a value for the parameter, whenrunning the test. (The functionality is not widelyused) • 1. Put the cursor whereyouwant to insert a parameter • 2. Click ”Insert Parameter” Ikon • 3. Insert parameter name • 4. Voila new parameter ”Customer no.” inserted • Thiswillbeexplained in training session 2, but just for the understanding – youwillseethispromtwhenrunning the test Senior Test Manager Mounir AL Chaer

  22. Short demo in Quality Center 11 Senior Test Manager Mounir AL Chaer

  23. Excersice 1 – Test Plan • Exercise Senior Test Manager Mounir AL Chaer

  24. 2. Give a short useful Test Set name Test Lab (Test execution) 1. Test Lab is where the execution of the test cases areplaned and done 3. Mark folder and create test set 4. Add test cases to test set Senior Test Manager Mounir AL Chaer

  25. Example of a test set with test cases • Eksempel: Et kundeadministrations test set med forskellige test cases, der beskriver varianter af ændring af stamdata. Senior Test Manager Mounir AL Chaer

  26. Test execution – Execute Test Scenario • The Test person is executing the Test scenario • Mark the test case in a test set and press on the Run button. Senior Test Manager Mounir AL Chaer

  27. Test execution in Quality Center 11 • Press Begin Run Senior Test Manager Mounir AL Chaer

  28. Test execution – Mark steps with correct execution status • If step is failed, thenpress the defecticon to create a defectreport • Test the case step by step and mark the steps as passed or failed. • Add a comment of the actual test result in the text box "Actual" if the step is failed Senior Test Manager Mounir AL Chaer

  29. Short demo in Quality Center Senior Test Manager Mounir AL Chaer

  30. Exercise 2 - TEST LAB • Exercise Senior Test Manager Mounir AL Chaer

  31. Test execution – Create a defect in QC 11 1. Define a short informative headline 2. Mandatoryfields • 3. Attachany file or screen dump illustrating the error • 4. Report the defect by pressing Submit Senior Test Manager Mounir AL Chaer

  32. Quality Center – DefectProcess Defect status: Ny – til vurdering Ny - til rettelse Mangler information I gang Klar til test Test i gang Test ej ok Test ok Afvist Log liste Lukket Changerequest Kritisk til IT Data klargøring Afventer nyt load 32 Senior Test Manager Mounir AL Chaer

  33. Defects Module QC 11 • Whenopening a defectyouwillnormallybeon the screen ’ Details’ • Handl defects according to rules in the project • Documentchangesorcomments • Whendefectarefixedchange ’status’ and ’videregivet til’ Senior Test Manager Mounir AL Chaer

  34. Handling Defects – Re-Test a fixeddefect • Open the defectyouwant to retest • ClickonLinkedEnitities and Go to 'Linked by' entity'….. Senior Test Manager Mounir AL Chaer

  35. Handling Defects – Re-Test a fixeddefect • Run the test case again Senior Test Manager Mounir AL Chaer

  36. Exercise 3 • Exercise Senior Test Manager Mounir AL Chaer

  37. Short demo in Quality Center 11 • Test kan føles som at lede efter den perfekte perle… Senior Test Manager Mounir AL Chaer

  38. Testforløbet • Designdokument færdigt og godkendt • Testcases til integrationstesten udarbejdes tidligt for at sikre: • at kravene er testbare • at vi ikke har glemt nogle krav • at vi har grundlaget for at gennemføre test (både af det der skal virke og det der ikke må ske kan håndteres) • Detailed design • Testcases til unittesten udarbejdes af udvikler for at sikre at rettelser i Z-kode/komponent/Funktion/Data objekt/Tabel/Applikationskomponent fungerer som specificeres og kan integrere med omkringliggende grænseflader (rettelser i Interface enhed) – desuden testcases til negativ test • Testcases til regressionstest udarbejdes til at sikre at kørende systemer der ikke er rettet ikke pludselig får en følgefejl • Test cases integrationstesten (systemtest) udarbejdes for at sikre en teknisk end-to-end test af funktioner der går på tværs af hinanden samt tjek af områder som performance, sikkerhed, backup/recovery, scalability, m.v. Senior Test Manager Mounir AL Chaer

  39. Kontaktinformation vedr. test i Systemoptimering • Senior Test ManagerMounir AL Chaere-mail: mounir@alchaer.dkTlf. +45 3115 5550 Senior Test Manager Mounir AL Chaer

More Related