Print Page | Close Window

Winrunner Data Driver Wizard

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: WinRunner @ OneStopTesting
Forum Discription: WinRunner is an automated functional GUI testing tool that allows a user to record and play back UI interactions as test scripts using a proprietary Test Script Language (TSL).
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=7232
Printed Date: 25Dec2024 at 12:52am


Topic: Winrunner Data Driver Wizard
Posted By: Mithi25
Subject: Winrunner Data Driver Wizard
Date Posted: 26Oct2009 at 1:00am

Once you have successfully debugged and run your test, you may want to see
how the same test performs with multiple sets of data. To do this, you convert your test to a data- driven test and create a corresponding data table with the sets of data you want to test.

Converting your test to a data- driven test involves the following steps:

  • Adding statements to your script that open and close the data table.
  • Adding statements and functions to your test so that it will read from the data table and run in a loop while it applies each set of data.
  • Replacing fixed values in recorded statements and checkpoint statements with parameters, known as Parameterizing the test.
  • You can convert your test to a data- driven test using the DataDriver Wizard or you can modify your script manually.

Creating Data Driven Test:

  • Choose Tools > DataDriver Wizard. Click Next to begin the parameterization process.
  • Create a data table for the test.
  • Assign a table variable name.
  • Select global parameterization options.
  • Select the data to parameterize.
Converting your test to a data- driven test involves the following steps:
  • Adding statements to your script that open and close the data table.
  • Adding statements and functions to your test so that it will read from the data table and run in a loop while it applies each set of data
  • Replacing fixed values in recorded statements and checkpoint statements with parameters, known as Parameterizing the test.
  • You can convert your test to a data- driven test using the DataDriver Wizard or you can modify your script manually.


-------------
http://www.quick2sms.com - Send Unlimited FREE SMS to Any Mobile Anywhere in INDIA,
Click Here



Print Page | Close Window