TestNG Dataprovider with Excel

Hi ,

I have tried your coding (http://www.toolsqa.com/selenium-webdriver/testng-data-provider-excel/) to automate the excel with dataprovider. However some codings are missing it seems in step 5 related to getTestcaseName() method. Can you pls confirm it ?


Default Asked on October 27, 2015 in Selenium WebDriver.
Add Comment
  • 2 Answer(s)

    Hi Sayed,

    Definetly some parts might be missing because the code is extensive and tutorials teaches the basics.

    Can you please elaborate your problem so that we can try to help?


    Professor Answered on November 2, 2015.
    Add Comment

    Hi Virender,

    Thanks for your reply. I have a search scenario with maximum 40 fields including dropdowno boxes.  Using DDF i need to provide random values to any of the 40 fields and fetch some text in result page using gettext() and write that in the same excel which I used for DDF. Can you pls help me on this?


    Default Answered on November 3, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.