mardi 18 août 2015

How can I speed up typing in protractor or set a longer timeout time

How can I speed up typing in protractor?

I get a runtime error if my textbox words are long

    var addText = element.all(by.css('.control-18u')).get(3);
    expect(addText).toBeDefined();
    addText.clear();
    addText.sendKeys('OK').then(function () {
    console.log("Added Text");
    })

When I run the following with addText.sendKeys('OK') it takes a while but passes,When I use something like addText.sendKeys('Tester 1 All good')

My Question is how can I add more text without it timing out OR how can I set a longer timeout session

Aucun commentaire:

Enregistrer un commentaire