1 / 10

Parameters and Data Driving

Parameters and Data Driving. USINGQTP65-STUDENT-01A. Lesson Objectives. In this lesson, you will: Create an output value Parameterize input values Create a data-driven test Review useful Data Table functions. 1. 2. 3. 4. Plan. Create. Verify & Enhance. Integrate.

Télécharger la présentation

Parameters and Data Driving

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. Parameters and Data Driving USINGQTP65-STUDENT-01A

  2. Lesson Objectives In this lesson, you will: • Create an output value • Parameterize input values • Create a data-driven test • Review useful Data Table functions

  3. 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

  4. Parameterization Applies to Input and Output Data QuickTest Test Material: Value 1 Value 2 Value 3 : ..and so on Use different material values for each time the transaction is run. Purch Req Number: 99999999 99999011 Retrieve each purchase requisition number. Use parameters in QuickTest instead of manually testing multiple values and manually retrieving system values

  5. Parameterization Makes Use of the Data Table Input and output values are stored in the Data Table

  6. The Run-Time Data Table can be viewed in the test results after a test run. You will also find the Global and Local data sheets under the run-time data table. Under the Design Time Data Tables are two spreadsheets where you place or retrieve parameter data values: - Global Sheet - Local Sheet (Action1) Types of Data Table Run Time Data Table Design Time Data Table

  7. Use an Output Parameter to Capture Data Which output method will I use, standard, text or text area? Retrieve this string of text from the application If you forget to add the output during recording, it can be inserted afterwards using the ActiveScreen window.

  8. Create one data-driven test that uses a data source What is a Data-Driven Test? • Create a new test for each set of data?

  9. The Data Table Has Spreadsheet Capabilities • Use spreadsheet functions, if needed, to create parameter values • Discussed in detail next chapter

  10. Global Data Sheet Run settings apply to all actions if data is placed in the Global Data Sheet Local Data Sheet Run settings apply only to the action referred to by the Local Data Sheet Configuring Run Settings This setting may be used more in conjunction with multiple actions and test integration.

More Related