Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Excel 表(位于类路径中),其中包含要读取和执行的场景。
一旦它们被执行,我应该写回SAME excel 表,说明场景是PASS还是FAIL。
如何实现?
(注意:我能够阅读 excel)。
我想唯一的方法是创建原始文件的临时文件并读取临时文件。进行验证。打开原始文件进行写入并显示错误消息。最后删除临时文件:-)