1 / 11

Create the Basic Test

Create the Basic Test. USINGQTP65-STUDENT-01A. 1. 2. 3. 4. Plan. Create. Verify & Enhance. Integrate. QuickTest Professional Workflow. Gather relevant test information What are the test requirements? Where can I get data to use?. Create basic test Record user actions

anevay
Télécharger la présentation

Create the Basic Test

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. Create the Basic Test USINGQTP65-STUDENT-01A

  2. 1 2 3 4 Plan Create Verify & Enhance Integrate QuickTest Professional Workflow • Gather relevant • test information • What are the test requirements? • Where can I get data to use? • Create basic test • Record user actions • Verify successful playback • Enhance basic test • Insert checkpoints • Data drive the test • Integrate tests • Correlate data • Build Integration Test Scenarios

  3. Lesson Objectives In this lesson, you will: • Set up the QuickTest environment for record and playback • Select the correct addins to load from the Addin Manager • Select the ActiveScreen capture level • Configure the record and run settings • Create a basic test from a manual test case • Playback a test • Save a test (two locations) • Set initial and end conditions in a test

  4. Set Up the QuickTest Professional Work Environment What are the proper record and run settings I need to configure? What are the environments and objects in the application under test? Is it Windows, Web, SAP or Terminal Emulator? Does it use Java, ActiveX, plain HTML, Visual Basic? How much information should the test capture into the ActiveScreen? What are the available add-ins in the Add-in Manager that I need to select?

  5. Instructor Demo and Discussion: Setup for recording a new test • Add-In Manager dialog • Record and Run Settings dialog • ActiveScreen Capture Level Setting dialog • Discuss the different icons and commands on the QuickTest Professional workspace Note: Screenshots of each topic are included in the student book.

  6. Record User Actions Action1 Empty ActiveScreen Empty Tree View IMPORTANT: Follow the user actions listed in the test case. Make sure you have the correct sample data for a complete and successful transaction. Note: QuickTest has three recording modes. Analog and Low-level will be discussed in detail in Chapter 13.

  7. Each selected step in the Tree View highlights the captured object in the ActiveScreen Test Step and Active Screen Each step comprises of the recorded object, the method (action performed on the object), and if applicable, the value entered through the action. “Fly From” Select “Los Angeles” Object method value entered

  8. Tests can be saved into the file system or into TestDirector Saving Tests Connects to the standard Windows location Requires connection to an existing TestDirector project Requires a valid TestDirector user and password Speak with TD Admin to set up connections Requires a standard Windows location to store tests

  9. Use the ‘Run’ button to begin playback from the top of the test. 1 Select the location of the test results - new results folder - temporary folder 2 Verify Correct Playback Check that no error messages appear

  10. Viewing the Test Results Test Action0 Action1 Test results can be stored in their own location (for documentation) or in a temporary location that is overwritten each time the test is run (for debugging). Script.mts Res1 Res2

  11. Open a record Submit Information Insert New Sale Update Record Edit information Input Data Update Record Best Practice: Setting Initial and End Conditions • During test planning, identify the starting and ending point for each test case. • Allows a test case to iterate successfully • Enables test case independence

More Related