Getting started with Robotium. EditText not found

后端 未结 1 1069
清酒与你
清酒与你 2021-01-23 19:22

I just getting started with Robotium, writing my first test and I\'m getting this weird error:

junit.framework.AssertionFailedError: 2131165500 EditTexts are not         


        
相关标签:
1条回答
  • 2021-01-23 19:44

    Fixed.

    The problem was that I thought solo.getEditText(int) took a View id as parameter. Instead it took the view's index.

    0 讨论(0)
提交回复
热议问题