Camera image injection
This document provides details about the camera image injection feature of Katalon TestCloud.
You have installed the Katalon TestCloud Keywords plugin. If you have not, visit Katalon Store: Katalon TestCloud keywords.
- Camera image injection supports the following systems and interfaces:
iOS: 13 or higher.
The
didFinishPickingMediaWithInfo
class ofUIImagePickerController
iOS SDK class for capturing an image. See: Apple documentation.The
AVCapturePhoto
iOS SDK class for receiving captured photos fromAVCapturePhotoOutput
class. See: Apple Documentation.
Android: 9 or higher.
The
CameraX
API: CameraX.The
Camera
API: Camera.The
Camera2
API: Camera2.The
ACTION_IMAGE_CAPTURE
Intent action: ACTION_IMAGE_CAPTURE.
One limitation of testing with cloud-based mobile devices is the ability to capture images. Camera image injection tackles this issue by simulating the action of taking images through a mobile application.
- Scanning a check for a banking application.
- Scanning a QR code.
- Taking a user profile picture.
- Taking a photo and store in a gallery app.
To perform image injection, you need to specify the desired capability and prepare the images. Follow these steps: