marcoslin / angularAMD

Facilitate use of RequireJS in AngularJS
http://marcoslin.github.io/angularAMD
MIT License
734 stars 171 forks source link

Protractor TypeError: Object [object Object] has no method 'getText' : #115

Closed santhoshpola closed 9 years ago

santhoshpola commented 9 years ago

I am very new to protractor pls help me..

when I am trying to print

element.all(by.css('.event-log-accesstd')).count(); It gives me count but when I try to access element.all(by.css('.event-log-accesstd')).get(0).getText() it prints me '2014-11-27 12:27' in debug console.

I want to get all the elements present in the object when using :

element.all(by.css('.event-log-accesstd')).count().then(function (rows) { startdate.sendKeys(rows);

marcoslin commented 9 years ago

This question might be better suited for Stackoverflow? You will need to provide more context so that others can help you there. It is not clear how it even related to angularAMD.