-
Junior Member
Data driven testing in WinRunner
How to use the feature of data driven testing in WinRunner?
I have started to work my hand on WinRunner. Unable to manupilate the GUI Map Editor. Any help Please
-
Expert Member
Re: Data driven testing in WinRunner
Hi,
Data-Driven testing in WR is generally carried out using the DDT statements.
You can use Data-driver wizard available in Winrunner incase you are not comfortable scripting the same. Here is how it works -
let us say you have an External Excel sheet containing 2 columns UserName and Password.
These 2 column values are used in your script as well -
Select the lines of script you wish to paramterize. Go to Data Driven Wizard.
You shall be prompted to select the Data file. Select the path of the Excel file.
You shall be prompted if you wish to paramterize all values at once or One-by-one. Select one by one.
WR shall display all possible values that can be parameterized. I mean all hard-coded values. Select UserName and Password and select the associated Excel columns. Click Finish.
You shall find commands like ddt_open("C:\abcd.xls");
ddt_fetch, ddt_next_row etc in your code.
Do let me know incase you face issues in doing the same...
Cheers....
-
Junior Member
Re: Data driven testing in WinRunner
how to replace a value of variable in XML
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules