RE: How to pass parameter to data provider in testng from csv file

Hi all.

Lakshay have a good tutorial on pass parameter to data provider in testng from xlsx file with using ExcelUtils.java

Anyone have a good tutorial on how to pass parameter to data provider in testng from csv file. I need to read and write data to csv file in Linux. Please help. Thanks.

Add Comment
4 Answers

Hi NexusChristo,

You can look at the tutorial at
http://www.toolsqa.com/selenium-webdriver/testng-data-provider-excel/

Thanks
Virender

Professor Answered on January 21, 2015.

Hi Virender Singh

What I want is CSV data provider not excel. thanks

on February 27, 2015.
Add Comment

Your Answer

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