Hi All,
I am working on protractor.
I need to fetch the rownumber from the table to process my record.
I am unable to get so.
Appreciate you help.
Code:
rows.filter(function(row, index) {
console.log('index = '+ index);
count = index+1;
console.log('count = '+ count);
return row.$$('td').get(0).getText().then(function(colName) {
// Filter rows matching the name you are looking for.
console.log('colName = '+ colName);
console.log('testData[0].title = '+ testData[0].title);
return colName === testData[0].title;
});
});
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.