POI API-after adding req jar files , getRowCount not shown | Selenium Forum
M
Posted on 18/10/2015
Jar file added from POI Apache is

dom4j
poi-3.7
poi-ooxml-3.7
poi-ooxml-schemas-3.7
xml beans

These files were added in project in eclipse



My code


import org.apache.*;
import org.apache.poi.*;

public class Reading_XLS_file {


// POI API


public static void main(String[] args) {

Xls_Reader datatable=new Xls_Reader ("C:\\testing\\Data.xlsx");
datatablle.


Issue:

on typing datatable. ( not getting all non static variables in class Xls_Reader but as per your video should get access to getRowCount .

Screenshot attached for better understanding
Please see it

M
Replied on 19/10/2015

you have to also import Xls_reader file in your "Reading_XLS_file" class.