【发布时间】:2017-09-07 08:03:16
【问题描述】:
我正在尝试使用 Java 和 Selenium Webdriver 从 excel 文件中读取数据。但是,我不断收到错误
线程“主”java.io.FileNotFoundException 中的异常: T:\SeleniuminputFiles\input.xls(系统找不到文件 指定),即使找到了 Excel 文件。
Please find attached screenshot for the code and output screen.
有人可以帮我解决这个问题,因为我现在真的被困住了。
【问题讨论】:
-
我认为您没有使用 Selenium Webdriver 来执行此操作。您正在使用不支持 XLSX 的 Java Excel API。你可能想检查这个问题stackoverflow.com/questions/6383414/…
-
你好 Ashish。非常感谢。
标签: java excel selenium selenium-webdriver