vendredi 27 mai 2016

setText dont work with appiun v 1.5.2

I am writing a test for my android app, I have a text field where I have to put an input in it, to do this I made this code :

 $els = $this->element($this->using('class name')->value('android.widget.EditText'));
        $els->click();
        $els->setText("govin");

However when I run this test I have this error :

 Something unexpected happened: 'Parameters were incorrect. We wanted {"required":["value"]} and you sent ["elementId","value"]

I found that "setText" does not work in appium v1.5.2

Does anybody have an alternative to this?

Thanks

Aucun commentaire:

Enregistrer un commentaire