I am currently evaluating calabash for our app. It seems to be very powerful but I haven't found a way to access a Google Map v2 in my native android app. Retrieving the Map via query
is no problem but I have not found any operations regarding Google Maps v2. Yet there seems to be some kind of support. I found a MapViewUtils class in the calabash-android repository calabash-android repository
Can someone explain to me how i can access for example the markers on a MapView?
best Jacob
Try this:
When /^I tap the map marker "([^\"]*)"$/ do | marker_title |
perform_action('tap_map_marker_by_title', marker_title, 60000)
end
You can find the supported mapView steps here
Note, I've not had much look using them myself as my mapview is in a Fragment, so I get a "MapView is not found!” error. According to this link mapViews in Fragments are not supported yet
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加