Capture image using Camera with iOS and appium -
i automating test need launch camera app , , capture images/videos. captured images/videos saved in media library. since 1. on real ios device can not automate camera app using appium, thought write , ios app launch camera , till step fine, launch camera capture button not clicked using appium.
do have other way launch camera on ios device using appium , capture images ?
part of apples security model sandbox. can play within own sandbox. since camera app it's own entity not have control on once launched , can not provide testing code control it.
you need either write own camera control module can control take pictures using test tool or can pre-populate device required images.
Comments
Post a Comment