clicking button using calabash for Android -


i have app 3 interactive ui elements, 2 edittext's , 1 button. i'm running calabash android 0.4.20 (since 0.4.21 seems broken)

if enter console , run:

$ query "button" 

it shows me single result.

if click second edittext set focus there, , run:

$ touch "button" 

the focus set top edittext , button not receive click event.

any clues why?

i saw notes here , there calabash miscalculates locations of ui element when keyboard present. i'm not sure it sending touch event, perhaps x/y coordinates wrong?

this fails too:

$ performaction 'press', 'login' # login id of button... 

how can troubleshoot this?

does button have id?

query("button id:'button_id'")

touch("button id:'button_id'")

there more details in calabash doc on how write query statement...


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -