如何使用NodeJS-Protractor从Excel读取/写入Excel? [英] How to read/write from/to an excel using NodeJS - Protractor?

查看:118
本文介绍了如何使用NodeJS-Protractor从Excel读取/写入Excel?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能是一个基本问题.但是由于我是量角器的新手,所以我肯定需要一些帮助!

如何使用NodeJS-Protractor从excel读取/写入excel?

有人可以举例说明吗?

我的目的是在Excel的帮助下使用NodeJS-Protractor参数化我的脚本.

解决方案

Protractor对Excel本身没有特定的支持,但是它在Node.JS内运行,因此您可以使用任何与excel兼容的Node模块. https://www.npmjs.org/package/excel-parser 看起来很有希望./p>

Might be a basic question. But since I am new to protractor, I definitely need some help!

How to read/write from/to an excel using NodeJS - Protractor?

Can someone explain with an example?

My intention is to Parameterize my scripts using NodeJS - Protractor with the help of excel.

解决方案

Protractor has no specific support for Excel itself, but it runs inside Node.JS, so you can use any Node module that works with excel. https://www.npmjs.org/package/excel-parser looks promising.

这篇关于如何使用NodeJS-Protractor从Excel读取/写入Excel?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆