Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Data driven testing in WinRunner within the WinRunner forums, part of the Software Testing category; 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...
|
|||||||
|
|||
|
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 |
| Sponsored Links |
|
|||
|
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....
__________________
Regards, V.Umesh Krishnan QA Consultant |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Data -driven testing in qtp | gouthami123 | QTP | 5 | 07-15-2009 03:35 PM |
| Data driven problem | Markus | SilkTest | 0 | 09-27-2007 03:06 AM |
| Component driven and keyword driven framework approach | Geek_Guest | SilkTest | 0 | 07-10-2007 01:42 PM |
| what is Data-driven, Time-Driven and keyword-driven testing | vijenjoy2k2 | Testing Issues | 1 | 05-31-2007 06:22 AM |
| Data-driven, Time-Driven and keyword-driven testing? | spd15 | Testing Issues | 1 | 04-02-2007 03:24 AM |