1 / 18

Anthony Borton | ALM Consultant, Enhance ALM

03b | Manage Test Cases (2 of 2). Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence. Module Overview. Create Test Cases Create Test Steps Define Parameters Manage Shared Steps Manage Requirements. Define Parameters.

Download Presentation

Anthony Borton | ALM Consultant, Enhance ALM

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. 03b | Manage Test Cases (2 of 2) Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence

  2. Module Overview • Create Test Cases • Create Test Steps • Define Parameters • Manage Shared Steps • Manage Requirements

  3. Define Parameters

  4. What the Study Guide says… • Define parameters • managing Test Case iterations • creating a parameter variable • renaming parameters • deleting parameters

  5. The need for data driven tests • Testers will often run tests multiple times using different data for each test run

  6. Parameterising tests • When recording manual tests you simply prepend an “@” symbol in your test step in front of the place where the parameter should appear. • For example. • “Enter the @username in the sign-in textbox” • The step above would create a parameter called “username” and this will appear in a table as the bottom of the MTM as a column heading in a table. • Add values under the column heading for each iteration of the test case

  7. Playback of parameterised test cases • When you use the Microsoft Test Runner to execute a test case that contains parameters, the parameters are shown in the specific test step where you created them • To reduce typo’s and increase speed, you can select a control where you want to place the parameter value and simply choose Paste (CTRL+V) to have the appropriate value pasted into the control. • This process also maps the parameter to the control for subsequent test iterations

  8. Define Parameters

  9. Manage Shared Steps

  10. What the Study Guide says… • Manage Shared Steps • creating Shared Steps • designing Shared Steps that can be reused effectively across different Test Cases • moving Shared Steps • creating Action Recording for Shared Steps

  11. The need for shared steps • As any testers who have had development experience will know, developers often refactor code to identify sections that can be easily reused and duplication of code in an application is frowned upon • In the same way, a tester can identify steps that are used in multiple test cases (eg. A user signs into the application) and these can be “refactors” out into what is called a shared step.

  12. Shared Steps • Characteristics of shared steps; • Are like mini test cases • Can be imported into any part of a test case, not just at the start or end • Can be created by selecting a number of steps and choosing “Convert into Shared Steps” from the context menu • Can be easily changed and the change automatically applies to everywhere the shared step is referenced

  13. Manage Shared Steps

  14. Manage Requirements

  15. What the Study Guide says… • Manage requirements • reviewing requirements • verifying requirements • verifying all requirements are accounted for • validating Test Coverage

  16. Manage Requirements

  17. EXAM BEST BETS • Practice adding test iterations • Be sure you can work with parameters • Understand the benefit of Shared Steps • Use Shared Steps in Test Cases

More Related