android - Robotium & system dialogs -
when try pair bluetooth device, system confirmation dialog pin appears. there buttons "cancel" , "ok". can't click them robotium. how can work android os dialogs in robotium? thanks.
this works me:
solo.clickonview(solo.getview(android.r.id.button1));
where 'positive' button android.r.id.button1, 'negative' button android.r.id.button2 , 'neutral' android.r.id.button3.
Comments
Post a Comment