narendra

Results comments of narendra

Hi May i know if you are able to find the solution??

HI I am getting below error. any suggestion much appreciated. Thanks Error: Cannot find module './internal/streams/BufferList'

I am writing karma test case to used spy.. getting below error Expected spy offerCancelled to have been called. here is my code. var spy; beforeEach(function () { spy=spyOn($scope,'offerCancelled'); $scope.offerCancelled=function(){...

Iam getting below error while running project in dev. any help much appreciated. thanks Error: Cannot find module './internal/streams/BufferList'

I using protractor to perform unit testing.. I am getting error if use expect function like below. Please advice is highly appreciated. element(by.model('ctrl.formData.emailAddress')).sendKeys('[email protected]'); var emailaddress = element(by.model('ctrl.formData.emailAddress')); expect(emailaddress.getText()).toEqual('[email protected]'); error :...

HI All, I have issue to validate the value using protractor. Please advice highly appreciated. Thanks Failed: No element found using locator: by.model("ctrl.formData.branchAddressLine1") code: element(by.model('ctrl.formData.branchAddressLine1')).getAttribute('value').then(function (value) { expect(value).toEqual('Plaza Scotiabank'); })

Hi All, I am using protractor trying to capture a label value from html page shows null . Please advice. Thanks error :Expected null to equal 'xyz'. Code : element(by.binding('ctrl.formData.branchAddressLine1')).getAttribute('value').then(function...

@DivyaAshok , Thanks for sample. I have same requirement. But not running in sequence. Its running first one and shows errors for second spec. Please advice me. Thanks specs: [...

Hi All, I am testing an example using protractor. I need to select the data which is showing in ng-repeate getting error. Any help much appreciated. Thanks element.all(by.repeater('branch in branches')).get(1).element(by.linkText('branchName')).click()

I have to run two senerios using protractor. config.js I given two of the spec name. But not running second one. here is the sample. Please advice. Thanks config.js specs:...