selenium-webdriverprotractorparameterized-tests

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


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.


Solution

  • 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.