I have a simple calculator application. In my test project, I try to long click on the editview to see copy-paste options. I used both clickLongOnScreen and clickLongOnView functions but none of them worked. What might be the problem?
public void testGesture(){
int secondnumber = 60;
EditText alan = (EditText) solo.getView(R.id.editText1);
solo.clearEditText(alan);
solo.enterText(alan,String.valueOf(secondnumber));
solo.sleep(2000);
solo.clickLongOnScreen(1024,207,3000);
solo.sleep(5000);
solo.clickLongOnView(alan, 2000);
}
Aucun commentaire:
Enregistrer un commentaire