-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I am trying to zoom a simple map application using the code-
application.performCalabashAction("set_map_zoom", "7");
error message is as below-
Done signing the test server. Moved it to test_servers/ea30d6063d6935fb5482750ddac408bc_0.5.2.apk
com.thoughtworks.calabash.android.CalabashException: Failed to perform action set_map_zoom with args 7
at com.thoughtworks.calabash.android.CalabashWrapper.performAction(CalabashWrapper.java:558)
End
at com.thoughtworks.calabash.android.AndroidApplication.performCalabashAction(AndroidApplication.java:293)
at calab.main(calab.java:22)
Caused by: org.jruby.embed.EvalFailedException: (RuntimeError) Action 'set_map_zoom' unsuccessful: MapView is not found!
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1264)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1257)
at com.thoughtworks.calabash.android.CalabashWrapper.performAction(CalabashWrapper.java:554)
... 2 more
Caused by: org.jruby.exceptions.RaiseException: (RuntimeError) Action 'set_map_zoom' unsuccessful: MapView is not found!
at RUBY.perform_action(C:/Users/090284/AppData/Local/Temp/calabash-android-gems-1.5.0/gems/calabash-android-0.5.2/lib/calabash-android/operations.rb:365)
at org.jruby.ext.timeout.Timeout.timeout(org/jruby/ext/timeout/Timeout.java:127)
at RUBY.perform_action(C:/Users/090284/AppData/Local/Temp/calabash-android-gems-1.5.0/gems/calabash-android-0.5.2/lib/calabash-android/operations.rb:354)
at RUBY.perform_action(C:/Users/090284/AppData/Local/Temp/calabash-android-gems-1.5.0/gems/calabash-android-0.5.2/lib/calabash-android/operations.rb:74)
at RUBY.(root)(<script>:1)
kindly help me resolve this issue