[英]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.