RE: Hii frnds….i need info about getting data from excel…how to get numeric data from excel???


I m unable to get numeric data example mobile number from excel n pass that value to some field…I used getnumericcellvalue() method to fetch the data…as send keys(char sequence) accepts char sequence I m unable to get neric data…m getting exception….pls do help me to sort this prblm…


Pradeep Train Asked on December 10, 2014 in Selenium WebDriver.
Add Comment
5 Answers

Hi Pradeep, You can take the return type of readExcelData() as show below.

public static Object[][] readExcelData()
//paste above all the code here
return obj;

Thanks & Regards

Train Answered on December 13, 2014.
Add Comment

Your Answer

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