I am new to protractor. Can anyone please guide me for data driven testing using protractor. Below is the code, config file and testdata.json file.
\'use st
I think your approach is quite reasonable. The reason you are getting undefined is because you put data in the 'done' parameter. It is setting data to the 'done' object that is passed when the 'it' function calls the function you are defining.
testData.forEach(function (data) {
it("data.description", function (data) {
should be
testData.forEach(function (data) {
it("data.description", function () {