Cannot find MapView

49 views
Skip to first unread message

Sandeep Saldanha

unread,
May 15, 2015, 9:53:19 AM5/15/15
to calabash...@googlegroups.com
Hey,

So my app at the moment is using a FrameLayout to wrap a google maps v2 on a page. So when I run this line:

      perform_action('set_map_zoom', 4)

I get this error

RuntimeError: Action 'set_map_zoom' unsuccessful: MapView is not found!

from /usr/local/rvm/gems/ruby-2.2.0/gems/calabash-android-0.5.8/lib/calabash-android/operations.rb:376:in `block in perform_action'

from /usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'

from /usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/timeout.rb:34:in `block in catch'

from /usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/timeout.rb:34:in `catch'

from /usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/timeout.rb:34:in `catch'

from /usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/timeout.rb:104:in `timeout'

from /usr/local/rvm/gems/ruby-2.2.0/gems/calabash-android-0.5.8/lib/calabash-android/operations.rb:365:in `perform_action'

from /usr/local/rvm/gems/ruby-2.2.0/gems/calabash-android-0.5.8/lib/calabash-android/operations.rb:85:in `perform_action'

from (irb):5

from /usr/local/rvm/rubies/ruby-2.2.0/bin/irb:11:in `<main>'

From what I understand is that if there is no MapView then I cannot access the map? Is there a workaround to this?

Thank You

Reply all
Reply to author
Forward
0 new messages