iphone - How do i scroll a UITable view down until i see a cell with label "Value" in Calabash -
how scroll uitableview down until see cell label "value" in calabash/cucumber. i've been trying using:
swipe down until see "value"
and using:
scroll down until see "value"
but none of them seem work. thanks!
the message when try above obviously:
you can implement step definitions undefined steps these snippets:
then(/^i swipe down until see "(.*?)"$/) |arg1| pending # express regexp above code wish had end
add step definitions
then /^i scroll cell "([^\"]*)" label$/ |name| wait_poll(:until_exists => "label text:'#{name}'", :timeout => 20) scroll("tableview", :down) end end
to projectname/features/step_definitions/my_first_steps.rb ruby file , in calabash script add
then scroll cell "aaa" label
its working fine me.
Comments
Post a Comment