Results 1 to 3 of 3

Thread: Data driven testing in WinRunner

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Dec 2007
    Answers
    2

    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


  2. #2
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

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


  3. #3
    Junior Member
    Join Date
    Feb 2008
    Answers
    1

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact