Xls_Reader.java error | Selenium Forum
S
Saravanan Vijay Posted on 30/11/2020

TestNG And Hybrid(Keyword+Data Driven) Framework - LIVE PROJECT - > Part 2 - > Xls_Reader.java

 

Please send the program for "Xls_Reader.java". 

 


S
Saravanan Vijay Replied on 30/11/2020

Responsive image

 


A
Ashish Thakur Replied on 01/12/2020

You must have changed some code in xls_reader file?


S
Saravanan Vijay Replied on 03/12/2020

no, I need that program only. Pls, send the program. 

 


A
Ashish Thakur Replied on 03/12/2020

You can download XLS_Reader from download code section in your account


S
Saravanan Vijay Replied on 03/12/2020

Done, but displaying below error. 

 

java.io.FileNotFoundException: D:\Selenium Class_Sep\Framework\TestNG And Hybrid(Keyword+Data Driven) Framework\SuiteA.xls (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.qtpselenium.hybrid.util.Xls_Reader.<init>(Xls_Reader.java:35)
at com.qtpselenium.hybrid.base.BaseTest.init(BaseTest.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.TestRunner.beforeRun(TestRunner.java:656)
at org.testng.TestRunner.run(TestRunner.java:624)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
at org.testng.SuiteRunner.run(SuiteRunner.java:268)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.run(TestNG.java:1064)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:113)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:206)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:177)


A
Ashish Thakur Replied on 04/12/2020

java.io.FileNotFoundException: D:\Selenium Class_Sep\Framework\TestNG And Hybrid(Keyword+Data Driven) Framework\SuiteA.xls (The system cannot find the file specified)

 

This means that file is not found at this location


Related Posts