mardi 29 mars 2016

clickOnMenuItem clicks on wrong button robotium

I starting using robotium and I'm trying to use some test cases. I have a menu and I want to click on the itens in this menu. Well, it worked fine for all of the itens but one. In this one case, it actually clicks on something but opens the wrong activity

`solo.clickOnMenuItem("Produção");
 if(solo.waitForActivity(ProducaoActivity.class))
    telaProducao();`

Well, it should open the ProducaoActivity but in fact it's opening other activity. For all of the others itens it opens the right activity

Aucun commentaire:

Enregistrer un commentaire