简体   繁体   English

Selenium-java:我想每次从网页到 excel 总是在新行中写入数据

[英]Selenium-java: I want to write data everytime from webpage to excel always in new row

Selenium-java: I want to write data everytime from webpage to excel always in new row. Selenium-java:我想每次从网页到 excel 总是在新行中写入数据。 Actually i want to print order id in excel and every time it is generating a new order id on a webpage.实际上,我想在 excel 中打印订单 ID,并且每次在网页上生成新的订单 ID。

I would suggest you to create a CSV file and append everything in a new line every time.我建议您每次都在一个新行中创建一个 CSV 文件和 append 文件。 This will help you to create excel much faster.这将帮助您更快地创建 excel。

But the better solution will be to use Apache POI it will have efforts to implement big code.但更好的解决方案是使用 Apache POI,它将努力实现大代码。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 excel 中一列的最后一行使用 POI 进行 selenium-java - Last row of a column in excel using POI for selenium-java 使用 selenium-java 重新捕获器 - recaptcher with selenium-java 每当我使用 Selenium WebDriver 中的 Apache POI 运行代码时,将数据写入 excel 文件中的新行 - Write data into new row in excel file whenever i run the code using Apache POI in Selenium WebDriver 我需要添加一个等待,直到我从selenium-java获得角度http请求的响应 - I need to add a wait till i get a response from angular http request with selenium-java I want to read the data from the Excel in selenium using java, but it is throwing the exception as “”main“ java.lang.ExceptionInInitializerError” - I want to read the data from the Excel in selenium using java, but it is throwing the exception as “”main“ java.lang.ExceptionInInitializerError” "ChromeOption 不适用于 Selenium-Java" - ChromeOption is not working with Selenium-Java 如何从Selenium-java中的JavaScript弹出式日历中选择日期 - How to select a date from javascript popup calendar in selenium-java 如何从 excel 表中读取数据并使用 selenium 将数据用作网页的输入? 我一次只能读取 1 行。 代码显示: - How do I read data from excel sheet and use data as an input for webpage using selenium ? I am able to read only 1 row at a time. Code displayed: 在selenium java中动态写入数据到excel - write data into excel dynamically in selenium java 如何在selenium-java中创建一个Coordinates实例? - How to create a Coordinates instance in selenium-java?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM