1

I want to do the validation using protractor for bootstrap pop up. I used the below code it ran successfully three times but now its getting null.

element.all(by.css("input:required")).first().getText().then(function(text) {
    console.log(text);
    expect(text.should.be.equal("Please fill out this field."));
})

The pop up is similar to this: https://github.com/angular/protractor/issues/1209

Bill
  • 1,407
  • 10
  • 18
abhishek Sharma
  • 140
  • 2
  • 14

0 Answers0