vendredi 1 juillet 2016

Why when I'm using protractor to write a text it doens't work correctly

I have a textarea and I'm trying to write a big text on it. I'm using:

var ementa = element(by.xpath("//label[. = 'Descrição / Ementa*']/following-sibling::textarea"));
        ementa.sendKeys('TESTANDO1-TESTANDO2-TESTANDO3-TESTANDO4-TESTANDO5-TESTANDO6-TESTANDO7-TESTANDO8');

But, when I run the test, the proctractor makes a mess and write something like "T1TRES2". Why? How can I Fix it?

Aucun commentaire:

Enregistrer un commentaire